CVE-2026-49825lxml: javascript: URL bypass in Cleaner via xlink:href
Updated under an hour ago ()
Does this affect you?
It affects lxml and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in ``lxml.html.defs.link_attrs`` were missing ``xlink:href``, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability was fixed in lxml 6.1.1 and lxml_html_clean 0.4.5.
- CVSS
- 8.2 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- Weakness (CWE)
- CWE-79, CWE-184
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Aug 21, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
lxml lxml lxml:lxml (from the name) | before 6.1.1 | CNA record |
fedora-python lxml_html_clean fedora_python:lxml_html_clean (from the name) | before 0.4.5 | CNA record |
References
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739fx-refsource-confirm
- https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2x-refsource-misc
- https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0x-refsource-misc
- https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5x-refsource-misc
- https://github.com/lxml/lxml/releases/tag/lxml-6.1.1x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.