Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

lxml-html-clean

Latest version: v0.4.7

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: frenzymadness, hroncok, org:fedora
14 Stars
7 Forks
2 Versions
23.8M Downloads
Python Repo language

Scan summary

lxml-html-clean was last scanned on 26 Nov 2026 at version 0.4.7. Risk score 5 of 100 (low). No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 26 Nov 2026.
  • Findings: 1 rule fired in version 0.4.7 (1 low). The score describes this version only.
  • Downloads: 23,781,370 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.7 LATEST 26 Nov 2026 1 rule fired
0.4.6 26 Oct 2026 No rules fired

Rules fired in 0.4.7: 1

Findings

1 Low

Findings for v0.4.7. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Maintainer or owner changed

The package's maintainer or owner differs from the previous version. This is usually benign, such as a transfer or reorganization, but account takeovers look the same at first. Shown for awareness.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.4.7; other versions have their own rules, not their own score.

Known vulnerabilities

4 CVEs · last 20 Aug 2026

0 CRITICAL 1 HIGH 3 MEDIUM 0 LOW

Versions

  • ≥ 0.4.5
  • ≥ 0.4.4, < 0.4.5 1 HIGH
  • ≥ 0.4.0, < 0.4.4 1 HIGH 2 MEDIUM
  • < 0.4.0 1 HIGH 3 MEDIUM

Vulnerabilities

  • CVE-2026-49825 High 20 Aug 2026 lxml: lxml-html-clean: lxml: URL bypass vulnerability in Cleaner via missing xlink:href Fixed in 0.4.5
  • CVE-2026-28350 Medium 5 Mar 2026 lxml_html_clean is a project for HTML cleaning functionalities copied ... Fixed in 0.4.4
  • CVE-2026-28348 Medium 5 Mar 2026 lxml_html_clean is a project for HTML cleaning functionalities copied ... Fixed in 0.4.4
  • CVE-2024-52595 Medium 19 Nov 2024 lxml_html_clean is a project for HTML cleaning functionalities copied ... Fixed in 0.4.0

README

The publisher’s own README, as collected from the registry.

lxml_html_clean

Motivation

This project was initially a part of lxml. Because HTML cleaner is designed as blocklist-based, many reports about possible security vulnerabilities were filed for lxml and that make the project problematic for security-sensitive environments. Therefore we decided to extract the problematic part to a separate project.

Important: the HTML Cleaner in lxml_html_clean is not considered appropriate for security sensitive environments. See e.g. nh3 for an alternative.

This project uses functions from Python's urllib.parse for URL parsing which do not validate inputs. For more information on potential security risks, refer to the URL parsing security documentation. A maliciously crafted URL could potentially bypass the allowed hosts check in Cleaner.

Installation

You can install this project directly via pip install lxml_html_clean or as an extra of lxml via pip install lxml[html_clean]. Both ways install this project together with lxml itself.

Security

For discussions regarding security-related issues or any sensitive reports, please contact us privately. You can reach out to lbalhar(at)redhat.com or frenzy.madness(at)gmail.com to ensure your concerns are addressed confidentially and securely.

Documentation

https://lxml-html-clean.readthedocs.io/

License

BSD-3-Clause

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases lxml-html-clean

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229