Bug 2495063 - CVE-2026-53606 prometheus: sanitize-html: Cross-Site Scripting (XSS) via insufficient URI scheme validation [fedora-all]
Summary: CVE-2026-53606 prometheus: sanitize-html: Cross-Site Scripting (XSS) via insu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: prometheus
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact:
URL:
Whiteboard: {"flaws": ["b89f78a4-8821-4193-ac2e-8...
Depends On:
Blocks: CVE-2026-53606
TreeView+ depends on / blocked
 
Reported: 2026-06-30 17:20 UTC by Matteo Signorini
Modified: 2026-07-11 01:07 UTC (History)
2 users (show)

Fixed In Version: prometheus-3.13.0-1.fc43 prometheus-3.13.0-1.fc44
Clone Of:
Environment:
Last Closed: 2026-07-11 00:53:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matteo Signorini 2026-06-30 17:20:35 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Versions of sanitize-html prior to 2.17.5 use `allowedSchemesAppliedToAttributes` (default: `['href', 'src', 'cite']`) to gate the `naughtyHref()` function that blocks dangerous URI schemes like `javascript:` and `vbscript:`. The HTML specification defines 10+ attributes that accept URIs (`action`, `formaction`, `data`, `poster`, `background`, `ping`, `xlink:href`, `dynsrc`, `lowsrc`), but none of these are included in the default gate list. When a developer allows any of these attributes in their configuration, `javascript:` URIs pass through completely unmodified, enabling XSS. Version 2.17.5 patches the issue.

Comment 1 Fedora Update System 2026-07-02 17:06:27 UTC
FEDORA-2026-4179e03375 (prometheus-3.13.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4179e03375

Comment 2 Fedora Update System 2026-07-02 17:06:39 UTC
FEDORA-2026-01a1840582 (prometheus-3.13.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-01a1840582

Comment 3 Fedora Update System 2026-07-03 01:26:15 UTC
FEDORA-2026-01a1840582 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-01a1840582`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-01a1840582

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-07-03 01:47:27 UTC
FEDORA-2026-4179e03375 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4179e03375`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4179e03375

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-07-11 00:53:52 UTC
FEDORA-2026-4179e03375 (prometheus-3.13.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-07-11 01:07:15 UTC
FEDORA-2026-01a1840582 (prometheus-3.13.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.