CVE-2026-113650: CWE-674: Uncontrolled Recursion in apostrophecms apostrophe
Description
ApostropheCMS versions prior to 4.34.0 and sanitize-html versions from 2.18.0 up to but not including 2.18.1 contain an uncontrolled recursion vulnerability. This occurs when an <iframe> tag is disallowed and the disallowedTagsMode is set to 'discard', causing recursive calls to sanitizeHtml with no bound. This can lead to denial of service due to resource exhaustion. The vulnerability has a medium severity score of 5.3 and is fixed in sanitize-html version 2.18.1.
CVSS v3.1
Score 5.3medium
Affected software
apostrophecms
apostrophe
apostrophecms
sanitize-html
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In ApostropheCMS, specifically in sanitize-html version 2.18.0, when an <iframe> element is not allowed and the disallowedTagsMode option is set to 'discard' (the default), the raw-text content of the iframe is re-sanitized by a recursive call to sanitizeHtml(text, options). This recursion is uncontrolled and unbounded, starting each nested call with a fresh state, which can cause a denial of service condition. The issue is addressed by updating sanitize-html to version 2.18.1. The affected ApostropheCMS versions are those prior to 4.34.0 that use the vulnerable sanitize-html versions.
Potential Impact
The vulnerability can cause a denial of service (DoS) by exhausting system resources due to uncontrolled recursion during HTML sanitization. There is no impact on confidentiality or integrity reported. No known exploits are currently in the wild.
Mitigation Recommendations
Upgrade sanitize-html to version 2.18.1 or later to apply the official fix. Also, upgrade ApostropheCMS to version 4.34.0 or later where this issue is resolved. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-20T14:27:46.640Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad79b8c2cdf04f65643a7b2
Added to database: 10/20/2026, 16:49:16 UTC
Last enriched: 10/20/2026, 17:03:41 UTC
Last updated: 10/20/2026, 19:06:08 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.