Skip to main content
← All vulnerabilities
CVE-2026-113650GHSA-C9RX-X947-FP3H

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.34.0, 2.18.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • apostrophecms apostrophe

    fixed in 4.34.0

  • apostrophecms sanitize-html

    From 2.18.0 · fixed in 2.18.1

  • sanitize-htmlnpm

    From 2.18.0 · fixed in 2.18.1

References 4

GitHub · apostrophecms/apostrophe