XSS in Fedora-Python Lxml HTML Clean
CVE-2026-49825
- CVSS v3
- 8.2 High
- Public exploits
- None known
- EPSS
- 0.003 · 22.7th percentile
- Published
- 2026-08-20
What to do
- Fixed in
0.4.5,6.1.1- Affected
- 2 affected products
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 22.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Fedora-Python Lxml HTML Clean — versions < 0.4.5
- Lxml — versions < 6.1.1
Weakness classification (CWE)
References
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f
- https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2
- https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0
- https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5
- https://github.com/lxml/lxml/releases/tag/lxml-6.1.1