CVE-2026-145156
Description
sanitize-html 2.17.7 before 2.18.2 contains a cross-site scripting vulnerability that allows attackers to bypass allowedSchemes by supplying SVG animation attributeName values with multiple colons. Attackers can submit markup like attributeName xlink:href:x with javascript: URLs in values, from, or to attributes, executing script when victims click the animated link.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apostrophecms | sanitize-html | {"startIncluding":"2.17.7","endExcluding":"2.18.2"} | 2.18.2 |
References
- https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js#L1018-L1043
- https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md
- https://github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc
- https://www.vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass
CWEs
CWE-184
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.