CVE-2026-113650
ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)
MEDIUM 5.3EPSS 0.5%
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.
- Affected
- apostrophecms · apostrophe · sanitize-html
- CVSS v3.1 GITHUB
- 5.3 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - EPSS
- 0.48% chance of exploitation in the next 30 days, 41st percentile
- Published
- 2026-10-20
- Updated
- 2026-10-28
Proof-of-concept exploits (1)
CVE references
- apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498REFERENCE
- apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5eaREFERENCE
- apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.1REFERENCE
- apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3hREFERENCE