CVE-2026-44990: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms sanitize-html
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Under the default configuration, versions of `sanitize-html` prior to 2.17.4 can turn attacker-controlled content inside a disallowed `xmp` element into live HTML or JavaScript. This is a sanitizer bypass in the default `disallowedTagsMode: 'discard'` path and can lead to stored XSS in applications that render sanitized output back to users. Version 2.17.4 patches the issue.
AI Analysis
Technical Summary
The sanitize-html library used by ApostropheCMS has a sanitizer bypass vulnerability (CWE-79) in versions before 2.17.4. Under the default configuration with disallowedTagsMode set to 'discard', malicious content embedded within a disallowed xmp element can be rendered as executable HTML or JavaScript. This results in stored cross-site scripting that can execute arbitrary code or disclose information when the sanitized output is rendered to users. Red Hat products using this library are affected. The vulnerability is addressed in sanitize-html version 2.17.4.
Potential Impact
Successful exploitation allows attackers to execute arbitrary code or disclose sensitive information via stored XSS when users view the malicious content. This can compromise user confidentiality and integrity, potentially leading to account compromise or unauthorized actions performed in the context of the affected application. The vulnerability has a CVSS v3.1 score of 9.3 (critical), indicating high impact with network attack vector, low complexity, no privileges required, and user interaction required.
Mitigation Recommendations
A fix is available in sanitize-html version 2.17.4. Users and vendors should upgrade to version 2.17.4 or later to remediate this vulnerability. Red Hat advisories indicate that no alternative mitigations meet their criteria, so applying the official patch is the recommended action.
CVE-2026-44990: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms sanitize-html
Description
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Under the default configuration, versions of `sanitize-html` prior to 2.17.4 can turn attacker-controlled content inside a disallowed `xmp` element into live HTML or JavaScript. This is a sanitizer bypass in the default `disallowedTagsMode: 'discard'` path and can lead to stored XSS in applications that render sanitized output back to users. Version 2.17.4 patches the issue.
CVSS v3.1
Score 9.3critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The sanitize-html library used by ApostropheCMS has a sanitizer bypass vulnerability (CWE-79) in versions before 2.17.4. Under the default configuration with disallowedTagsMode set to 'discard', malicious content embedded within a disallowed xmp element can be rendered as executable HTML or JavaScript. This results in stored cross-site scripting that can execute arbitrary code or disclose information when the sanitized output is rendered to users. Red Hat products using this library are affected. The vulnerability is addressed in sanitize-html version 2.17.4.
Potential Impact
Successful exploitation allows attackers to execute arbitrary code or disclose sensitive information via stored XSS when users view the malicious content. This can compromise user confidentiality and integrity, potentially leading to account compromise or unauthorized actions performed in the context of the affected application. The vulnerability has a CVSS v3.1 score of 9.3 (critical), indicating high impact with network attack vector, low complexity, no privileges required, and user interaction required.
Mitigation Recommendations
A fix is available in sanitize-html version 2.17.4. Users and vendors should upgrade to version 2.17.4 or later to remediate this vulnerability. Red Hat advisories indicate that no alternative mitigations meet their criteria, so applying the official patch is the recommended action.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:46685
- Cve Count
- 1
- State
- PUBLISHED
Threat ID: 6a69402b9c2644c7f8669e14
Added to database: 07/28/2026, 23:50:03 UTC
Last enriched: 08/13/2026, 19:58:29 UTC
Last updated: 09/12/2026, 22:01:34 UTC
Views: 44
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.