XSS in Apostrophecms Sanitize-Html
CVE-2026-44990
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.007, 53.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apostrophecms Sanitize-Html — versions < 2.17.4
Weakness classification (CWE)
References
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-rpr9-rxv7-x643
- access.redhat.com/security/cve/CVE-2026-44990
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44990.json
- access.redhat.com/errata/RHSA-2026:36882
- access.redhat.com/errata/RHSA-2026:36883
- access.redhat.com/errata/RHSA-2026:40119
- access.redhat.com/errata/RHSA-2026:40138
- access.redhat.com/errata/RHSA-2026:40262
- access.redhat.com/errata/RHSA-2026:41031