Bug 2495053 - CVE-2026-53606 python-jupyterlab_pygments: sanitize-html: Cross-Site Scripting (XSS) via insufficient URI scheme validation [fedora-all]
Summary: CVE-2026-53606 python-jupyterlab_pygments: sanitize-html: Cross-Site Scriptin...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jupyterlab_pygments
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b89f78a4-8821-4193-ac2e-8...
Depends On:
Blocks: CVE-2026-53606
TreeView+ depends on / blocked
 
Reported: 2026-06-30 17:19 UTC by Matteo Signorini
Modified: 2026-07-01 12:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-01 12:19:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matteo Signorini 2026-06-30 17:19:34 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 Lumír Balhar 2026-07-01 12:19:58 UTC
jupyterlab_pygments does not bundle sanitize-html at all (only css-loader/style-loader)


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