Bug 2488561 (CVE-2026-53606) - CVE-2026-53606 apostrophecms sanitize-html: sanitize-html: Cross-Site Scripting (XSS) via insufficient URI scheme validation
Summary: CVE-2026-53606 apostrophecms sanitize-html: sanitize-html: Cross-Site Scripti...
Keywords:
Status: NEW
Alias: CVE-2026-53606
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2495054 2495055 2495056 2495058 2495060 2495061 2495062 2495065 2495067 2495070 2495071 2495053 2495057 2495059 2495063 2495069
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-12 21:02 UTC by OSIDB Bzimport
Modified: 2026-09-03 13:03 UTC (History)
67 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-12 21:02:35 UTC
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.


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