CVE-2026-113650

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductSanitize-html
PublishedOct 20, 2026
First seenOct 20, 2026
Weakness typeCWE-674CWE-674

How to fix

Update
  • sanitize-html2.18.1 or later

Affected products

ProductAffected versionsFixed in
sanitize-htmlnpm2.18.0 ≤ v < 2.18.12.18.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.