Vulnerability
CVE-2026-113650
ApostropheCMS is an open-source Node.js content management system. In sanitize-html 2.18.0, when an <iframe> is not allowed and disallowedTagsMode is 'discard' (the defaults), its raw-text content is re-sanitized by a recursive call to sanitizeHtml(text, options). The recursion has no bound and starts each nested call with a fresh state. This vulnerability is fixed in 2.18.1.
9 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-3m65-4rhw-frp3
- CGA-9324-c58m-hqfm
- CGA-h5m6-pmxc-jm88
- CGA-hfj7-8cp5-8qxm
- CGA-q24j-96cc-4wp2
- CGA-rp57-hpgq-c87h
-
FEDORA-2026-c584e445b8
prometheus-3.15.1-1.fc44
-
GHSA-c9rx-x947-fp3h
ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)
-
RHVEX-CVE-2026-113650
sanitize-html: sanitize-html: Denial of Service via unbounded recursion in iframe tag processing
References
- https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498
- https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea
- https://github.com/apostrophecms/apostrophe/releases/tag/[email protected]
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h