← CVE Intelligence

CVE-2026-44990

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
apostrophecms / sanitize-htmlaffected < 2.17.4

CWE

CWE-79

References

ADP enrichment

CISA-ADP

No English description supplied.

redhat-SADP

A flaw was found in the `sanitize-html` library. Under its default configuration, an attacker can embed malicious content within a disallowed `xmp` element. This vulnerability allows the attacker to bypass the HTML sanitization process, leading to stored Cross-Site Scripting (XSS). Successful exploitation can result in arbitrary code execution or information disclosure when a user views the affected content.