CVE-2026-145156
Received Received - Intake

Cross-Site Scripting in sanitize-html via SVG Animation Attributes

Vulnerability report for CVE-2026-145156, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
apostrophecms sanitize-html From 2.17.7 (inc) to 2.18.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-184 The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in sanitize-html 2.17.7 before 2.18.2 allows cross-site scripting (XSS) attacks by bypassing allowedSchemes. Attackers can use SVG animation attributes with multiple colons, such as attributeName xlink:href:x, to inject javascript: URLs into values, from, or to attributes. When victims click the animated link, the script executes.

Impact Analysis

This vulnerability can allow attackers to execute malicious scripts in your browser when you interact with affected content. This could lead to theft of session cookies, login credentials, or other sensitive data. It may also enable phishing attacks or unauthorized actions on your behalf.

Compliance Impact

This XSS vulnerability could lead to unauthorized data access or modification, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Non-compliance may result in legal penalties, reputational damage, and loss of trust.

Mitigation Strategies

Upgrade sanitize-html to version 2.18.2 or later to address the XSS vulnerability. Review SVG animations and attributeName values in user-supplied markup for suspicious patterns like multiple colons or javascript: URLs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145156. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...