CVE-2026-113650
MEDIUM 5.3CVSS 3.1ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)
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.
- Published
- 20 Oct 2026
- Last modified
- 28 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-c9rx-x947-fp3h
- Sources
- NVDJSONOSV GHSA-c9rx-x947-fp3hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | sanitize-html | >= 2.18.0, < 2.18.1 | 2.18.1 |
References
- https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498 · WEB
- https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea · WEB
- https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.1 · WEB
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-113650 · ADVISORY
- https://github.com/apostrophecms/apostrophe · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Oct 2026)