Skip to main content
← All vulnerabilities
CVE-2026-44990GHSA-RPR9-RXV7-X643

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.17.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • apostrophecms sanitize-html

    fixed in 2.17.4

  • sanitize-htmlnpm

    From 2.17.3 · fixed in 2.17.4

References 1

GitHub · apostrophecms/apostrophe