CVE-2026-49825: lxml: javascript: URL bypass in Cleaner via xlink:href
CSIRTS triage
- What
- The Cleaner component in lxml fails to properly sanitize javascript: URLs in xlink:href attributes, allowing XSS injection.
- Who is affected
- Applications using lxml's Cleaner to sanitize HTML/XML with SVG content.
- Urgency
- High severity (CVSS 8.2) but not yet exploited; patching should be prioritized within standard maintenance windows.
- Action
- Update lxml to a patched version that properly removes or sanitizes javascript: URLs in xlink:href attributes.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch lxml
Get an email when a new lxml advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-49825
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-498250.24% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 15% of all EPSS-scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-49825 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
- high[UPDATE] [hoch] Red Hat Enterprise Linux (lxml): Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungencert-bund
- highCVE-2026-49825: lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link att…nvd
- highGHSA-4jhm-jv67-739f: `lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attribute…ghsa
Recent advisories for lxml
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- high[UPDATE] [hoch] Red Hat Enterprise Linux (lxml): Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungencert-bund · 2026-09-11
- highCVE-2026-49825: lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link att…nvd · 2026-08-20
- medium[UPDATE] [medium] lxml: Vulnerability Allows Information Disclosurecert-bund · 2026-07-06
More from Microsoft Security Response Center
- highCVE-2026-85396: rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix2026-09-08
- unknownCVE-2026-83616: xmldom: Processing Instruction Target Injection Bypasses requireWellFormed2026-09-08
- unknownCVE-2026-85062: Colord: Slow rejection of oversized malformed color strings2026-09-08
- mediumCVE-2026-18924: HTTP/2 server push UAF2026-09-08
- unknownCVE-2026-83610: xmldom: XML fragment injection via invalid EntityReference.nodeName during requireWellFormed s…2026-09-08