CVE-2026-49825
HIGH 8.2CVSS 3.1`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes
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.
- Published
- 20 Aug 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-184CWE-79
- Also known as
- GHSA-4jhm-jv67-739fPYSEC-2026-2614
- Sources
- NVDJSONOSV GHSA-4jhm-jv67-739fJSONOSV PYSEC-2026-2614JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | lxml-html-clean | < 0.4.5 | 0.4.5 |
References
- https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2
- https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f · WEB
- https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0
- https://github.com/lxml/lxml/releases/tag/lxml-6.1.1
- https://github.com/fedora-python/lxml_html_clean · PACKAGE
- https://pypi.org/project/lxml-html-clean · PACKAGE
- https://github.com/advisories/GHSA-4jhm-jv67-739f · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-49825 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 20 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jul 2026)