CVE-2026-53606: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms sanitize-html
ApostropheCMS's sanitize-html package versions prior to 2.17.5 have a cross-site scripting (XSS) vulnerability due to improper filtering of dangerous URI schemes in certain HTML attributes. The default configuration only applies URI scheme restrictions to a limited set of attributes, missing others that accept URIs. This allows malicious javascript: URIs to bypass sanitization when those attributes are allowed, enabling XSS attacks. Version 2.17.5 addresses this issue.
AI Analysis
Technical Summary
The sanitize-html library used by ApostropheCMS versions before 2.17.5 improperly neutralizes input during web page generation by not applying URI scheme restrictions to all HTML attributes that accept URIs. Specifically, attributes such as action, formaction, data, poster, background, ping, xlink:href, dynsrc, and lowsrc are not included in the default allowedSchemesAppliedToAttributes list. When developers permit these attributes, dangerous URI schemes like javascript: can pass through unmodified, resulting in cross-site scripting vulnerabilities. The issue is fixed in version 2.17.5.
Potential Impact
This vulnerability allows an attacker to inject malicious javascript: URIs into HTML attributes that are not properly sanitized, potentially leading to cross-site scripting attacks. Such attacks can result in limited confidentiality and integrity impacts, including execution of arbitrary scripts in the context of the affected web application. The CVSS 3.1 base score is 5.4 (medium severity) reflecting network attack vector, low attack complexity, low privileges required, user interaction needed, and partial confidentiality and integrity impact without availability impact.
Mitigation Recommendations
Upgrade sanitize-html to version 2.17.5 or later, where this vulnerability is patched. No other mitigations are indicated or recommended by the vendor advisory. Patch status is not explicitly stated but the version 2.17.5 is identified as the fixed version.
CVE-2026-53606: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms sanitize-html
Description
ApostropheCMS's sanitize-html package versions prior to 2.17.5 have a cross-site scripting (XSS) vulnerability due to improper filtering of dangerous URI schemes in certain HTML attributes. The default configuration only applies URI scheme restrictions to a limited set of attributes, missing others that accept URIs. This allows malicious javascript: URIs to bypass sanitization when those attributes are allowed, enabling XSS attacks. Version 2.17.5 addresses this issue.
CVSS v3.1
Score 5.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The sanitize-html library used by ApostropheCMS versions before 2.17.5 improperly neutralizes input during web page generation by not applying URI scheme restrictions to all HTML attributes that accept URIs. Specifically, attributes such as action, formaction, data, poster, background, ping, xlink:href, dynsrc, and lowsrc are not included in the default allowedSchemesAppliedToAttributes list. When developers permit these attributes, dangerous URI schemes like javascript: can pass through unmodified, resulting in cross-site scripting vulnerabilities. The issue is fixed in version 2.17.5.
Potential Impact
This vulnerability allows an attacker to inject malicious javascript: URIs into HTML attributes that are not properly sanitized, potentially leading to cross-site scripting attacks. Such attacks can result in limited confidentiality and integrity impacts, including execution of arbitrary scripts in the context of the affected web application. The CVSS 3.1 base score is 5.4 (medium severity) reflecting network attack vector, low attack complexity, low privileges required, user interaction needed, and partial confidentiality and integrity impact without availability impact.
Mitigation Recommendations
Upgrade sanitize-html to version 2.17.5 or later, where this vulnerability is patched. No other mitigations are indicated or recommended by the vendor advisory. Patch status is not explicitly stated but the version 2.17.5 is identified as the fixed version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T19:39:52.404Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2c758ce617e2d834c30b80
Added to database: 6/12/2026, 9:09:32 PM
Last enriched: 6/12/2026, 9:25:00 PM
Last updated: 6/12/2026, 10:22:07 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.