PyPI (Python)Worst: High4 advisories

lxml-html-clean: known vulnerabilities

lxml-html-clean has 4 reviewed security advisories in the GitHub Advisory Database — 2 high, 2 moderate. The most recent was published 2026-07-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the lxml-html-clean versions running across your servers, containers and images, and ranks what to patch first.

How to fix lxml-html-clean

Upgrade lxml-html-clean to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade lxml-html-clean (pin lxml-html-clean>=0.4.5)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes High 8.2 CWE-184 CWE-79 — Affected: before 0.4.5. Fixed in 0.4.5. Published 2026-07-08. GHSA-4jhm-jv67-739f · CVE-2026-49825
lxml-html-clean has CSS @import Filter Bypass via Unicode Escapes Moderate 6.1 CWE-116 — Affected: before 0.4.4. Fixed in 0.4.4. Published 2026-03-05. GHSA-hw26-mmpg-fqfg · CVE-2026-28348
lxml-html-clean has <base> tag injection through default Cleaner configuration Moderate 6.1 CWE-116 — Affected: before 0.4.4. Fixed in 0.4.4. Published 2026-03-05. GHSA-xvp8-3mhv-424c · CVE-2026-28350
HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through High 7.7 CWE-184 CWE-79 CWE-83 — Affected: before 0.4.0. Fixed in 0.4.0. Published 2024-11-19. GHSA-5jfw-gq64-q45f · CVE-2024-52595

Find lxml-html-clean across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.