Skip to content
Medium 5.3

ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)

CVE-2026-113650 First seen on SecPulse

Affected packages

PackageAffected → Fixed
apostrophecmsapostrophe —
apostrophecmssanitize-html —
npmsanitize-html
< 2.18.1→ 2.18.1
Original description The description as published by the source.

ApostropheCMS is an open-source Node.js content management system. In sanitize-html 2.18.0, when an 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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details