# CVE-2026-49825: lxml: javascript: URL bypass in Cleaner via xlink:href

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T20:23:22.000Z
- Modified: 2026-10-26T10:10:00.140Z
- Also known as: GHSA-4jhm-jv67-739f, PYSEC-2026-2614
- Weaknesses: CWE-79, CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lxml lxml: < 6.1.1
- fedora-python lxml_html_clean: < 0.4.5
- lxml-html-clean (PyPI): before 0.4.5

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f> (exploit, web)
- <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>
- <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)

## Sources

- CVE List: [CVE-2026-49825](https://www.cve.org/CVERecord?id=CVE-2026-49825), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-4jhm-jv67-739f](https://github.com/advisories/GHSA-4jhm-jv67-739f), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-49825](https://nvd.nist.gov/vuln/detail/CVE-2026-49825), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2614](https://osv.dev/vulnerability/PYSEC-2026-2614), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-49825 · Whole record: https://cve.day/CVE-2026-49825.json · Rebuilt by cve.day 2026-11-25T22:59:34.636Z
