# lxml-html-clean (PyPI) vulnerabilities

4 known vulnerabilities (2 high, 2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 0.4.6 (Oct 26, 2026): no advisory affects it
- Newest unaffected release: 0.4.6 (Oct 26, 2026), the latest release
- Weekly downloads: 5.4M
- Dependents: 1,140
- Releases: 14 since 0.1.0 (Feb 26, 2024)
- Registry: https://pypi.org/project/lxml-html-clean/
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-49825: 0.1.0 to 0.4.4 (0.4.5 is outside it)
- CVE-2026-28350: 0.1.0 to 0.4.3 (0.4.4 is outside it)
- CVE-2026-28348: 0.1.0 to 0.4.3 (0.4.4 is outside it)
- CVE-2024-52595: 0.1.0 to 0.3.1 (0.4.0 is outside it)

## Advisories (4)

### [CVE-2026-49825](https://cve.now/CVE-2026-49825): lxml: javascript: URL bypass in Cleaner via xlink:href

- Severity: High 8.2
- Published: Aug 20, 2026
- Affected: fixed in 0.4.5.
- Fixed in 0.4.5 (released May 20, 2026, 92 days before disclosure).
- The latest release, 0.4.6, is not affected.

### [CVE-2026-28350](https://cve.now/CVE-2026-28350): lxml\_html\_clean: \<base\> tag injection through default Cleaner configuration

- Severity: Medium 6.1
- Published: Mar 5, 2026
- Affected: fixed in 0.4.4.
- Fixed in 0.4.4 (released Feb 27, 2026, 6 days before disclosure).
- The latest release, 0.4.6, is not affected.

### [CVE-2026-28348](https://cve.now/CVE-2026-28348): lxml\_html\_clean: CSS @import Filter Bypass via Unicode Escapes

- Severity: Medium 6.1
- Published: Mar 5, 2026
- Affected: fixed in 0.4.4.
- Fixed in 0.4.4 (released Feb 27, 2026, 6 days before disclosure).
- The latest release, 0.4.6, is not affected.

### [CVE-2024-52595](https://cve.now/CVE-2024-52595): HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through

- Severity: High 7.7
- Published: Nov 19, 2024
- Affected: fixed in 0.4.0.
- Fixed in 0.4.0 (released Nov 14, 2024, 5 days before disclosure).
- The latest release, 0.4.6, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/lxml-html-clean
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
