p PatchFirst

CVE-2026-44990

CVE-2026-44990 · Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html`

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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 9.3 · Critical · EPSS 0.7% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • sanitize-html

    Versions
    • < 2.17.4: Affected

    No fix published

  • sanitize-html npm

    Versions
    • 2.17.3
    Affected ranges
    • SEMVER: ≥ 2.17.3, < 2.17.4

    Update to 2.17.4

Original sources

Check your server →