CVE-2026-113650
ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-674 |
| Vendor | apostrophecms |
| Product | apostrophe |
| Published | Oct 20, 2026 |
Stay Ahead of the Next One
Get instant alerts for apostrophecms apostrophe
Be the first to know when new medium vulnerabilities affecting apostrophecms apostrophe are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Affected Versions
apostrophecms / apostrophe
< 4.34.0
apostrophecms / sanitize-html
>= 2.18.0, < 2.18.1
References
github.com: https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h github.com: https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498 github.com: https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea github.com: https://github.com/apostrophecms/apostrophe/releases/tag/[email protected]