CVE-2026-44990

CRITICAL

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 9.3
EPSS 0.0001
EPSS Percentile 1.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Details

CWE
CWE-79
Status published
Products (2)
apostrophecms/sanitize-html < 2.17.4
npm/sanitize-html 2.17.3 - 2.17.4npm
Published Jun 12, 2026
Tracked Since Jun 13, 2026