CVE-2026-145156: apostrophecms sanitize-html · Incomplete List of Disallowed Inputs
Affects apostrophecms sanitize-htmlSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 2.18.2 when convenient.
Data as of 4 Dec 2026, 16:49 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
- Patch
- Available – fixed in 2.18.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade apostrophecms sanitize-html to 2.18.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| apostrophecmssanitize-html | Affected
| Fixed in
|
npmsanitize-htmlpkg:npm/sanitize-htmlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade sanitize-html to version 2.18.2 or later, where this vulnerability is fixed. No other mitigation is indicated or required.
Description
sanitize-html versions from 2.17.7 up to but not including 2.18.2 contain a cross-site scripting (XSS) vulnerability. This flaw allows attackers to bypass the allowedSchemes restriction by using SVG animation attributeName values with multiple colons, such as 'xlink:href:x', embedding javascript: URLs that execute script when users interact with the animated link. The vulnerability is fixed in version 2.18.2.
References
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc (opens in a new tab)
- github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7 (opens in a new tab)
- github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md (opens in a new tab)
- github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js (opens in a new tab)
- vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass (opens in a new tab)