ADVISORIES

Vulnerability

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.

7 advisories report this vulnerability, across 4 ecosystems.

Advisories in npm

  • GHSA-rpr9-rxv7-x643

    Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html`

    Critical CVE-2026-44990 npm Updated 12 June 2026

References