{"id":"CVE-2026-113650","published":"2026-10-20T16:19:12Z","modified":"2026-10-28T14:02:38Z","title":"ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack…","vendor":"apostrophecms","product":"apostrophe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.378,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":7.56},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"apostrophecms","affectedVersions":[{"vendor":"apostrophecms","product":"apostrophe","versions":["< 4.34.0"]},{"vendor":"apostrophecms","product":"sanitize-html","versions":[">= 2.18.0, < 2.18.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-28T14:02:31.342366Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sanitize-html","vulnerableRanges":[">=2.18.0, <2.18.1"],"patched":["2.18.1"],"from":["GHSA-c9rx-x947-fp3h"],"provenance":"source"}],"summary":{"text":"The flaw is an unbounded recursion in the sanitize-html component of ApostropheCMS, a Node.js content management system: when an iframe is disallowed and discarded, its text content is re-sanitized by a recursive call with no depth limit and fresh state on each nested call. An attacker with network access and no authentication or user interaction, against a default configuration, can submit crafted HTML containing such an iframe to exhaust the call stack and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:34Z"},"euvd":{"id":"EUVD-2026-105176","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-113654","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113657","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113661","published":"2026-10-20","fixed":"2.18.0","kev":false,"link":{"from":"CVE-2026-113661","to":"CVE-2026-113650","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sanitize-html","fromFixed":"2.18.0","toFixed":"2.18.1","daysApart":0}]}},{"cve":"CVE-2026-113650","published":"2026-10-20","fixed":"2.18.1","kev":false}],"package":"npm:sanitize-html"}}