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.
References10
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-rp…
- access.redhat.com/errata/RHSA-2026:36882
- access.redhat.com/errata/RHSA-2026:36883
- access.redhat.com/errata/RHSA-2026:40262
- access.redhat.com/errata/RHSA-2026:41031
- access.redhat.com/errata/RHSA-2026:41055
- access.redhat.com/errata/RHSA-2026:41064
- access.redhat.com/errata/RHSA-2026:41066
- access.redhat.com/errata/RHSA-2026:42146
- access.redhat.com/errata/RHSA-2026:42796
Metrics
- CVSS 3.1
-
9.3
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - EPSS — exploit probability
- 1% percentile: 53 · as of 16 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.