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.
Project Subscriptions
No data.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4jhm-jv67-739f | `lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 20 Aug 2026 15:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | lxml: javascript: URL bypass in Cleaner via xlink:href | |
| Weaknesses | CWE-184 CWE-79 |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-08-20T14:42:30.748Z
Reserved: 2026-06-01T18:50:36.055Z
Link: CVE-2026-49825
No data.
Status : Received
Published: 2026-08-20T15:17:30.707
Modified: 2026-08-20T15:17:30.707
Link: CVE-2026-49825
No data.
OpenCVE Enrichment
No data.
Github GHSA