THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-c9rx-x947-fp3h (medium) — ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)

[GHSA] GHSA-c9rx-x947-fp3h (medium) — ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)

medgithub_advisoriesPublished 2026-10-21

GHSA-c9rx-x947-fp3h Severity: medium CVE: CVE-2026-113650

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

### Summary

Since 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(te

Indicators of compromise

Original source: https://github.com/advisories/GHSA-c9rx-x947-fp3h