Incomplete blacklist vulnerability in the lxml.html.clean module in lxml before 3.3.5 allows remote attackers to conduct cross-site scriptin
Incomplete blacklist vulnerability in the lxml.html.clean module in lxml before 3.3.5 allows remote attackers to conduct cross-site scripting (XSS) attacks via control characters in the link scheme to the clean_html function.
- Published
- May 14, 2014
- Updated
- Jun 16, 2026
- EPSS
- 6.3% · 93th percentile
- CWE
- CWE-79
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
26
Monitor
Low priority for now.
- CVSS
- 24 / 40 · 6.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| lxml | lxml | cpe:2.3:a:lxml:lxml |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- lxml lxmlup to 3.3.4 inclusive
- lxml lxml0.5
- lxml lxml0.5.1
- lxml lxml0.6
- lxml lxml0.7
- lxml lxml0.8
- lxml lxml0.9
- lxml lxml0.9.1
- lxml lxml0.9.2
- lxml lxml1.0
- lxml lxml1.0.1
- lxml lxml1.0.2
- lxml lxml1.0.3
- lxml lxml1.0.4
- lxml lxml1.1
- lxml lxml1.1.1
- lxml lxml1.1.2
- lxml lxml1.2
- lxml lxml1.2.1
- lxml lxml1.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | lxml | before 3.3.5-1 | 3.3.5-1 |
| Debian:6.0 | lxml | before 2.2.8-2+deb6u1 | 2.2.8-2+deb6u1 |
| Debian:7 | lxml | before 2.3.2-1+deb7u1 | 2.3.2-1+deb7u1 |
| PyPI | lxml | before 3.3.5 | 3.3.5 |
Same product
lxml: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-49825lxml: javascript: URL bypass in Cleaner via xlink:href32Monitor
- CVE-2022-2309NULL Pointer Dereference in lxml/lxml31Monitor
- CVE-2026-41066lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files30Monitor
- CVE-2021-43818HTML Cleaner allows crafted and SVG embedded scripts to pass through29Monitor
- CVE-2021-28957An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3.25Monitor
- CVE-2020-27783A XSS vulnerability was discovered in python-lxml's clean module.25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:lxml | 3.3.5-1 · Debian:12 | Package registry (OSV) |
| PyPI:lxml | 3.3.5 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2014-04-15 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-30 d
- Published
- TodaySep 30, 2026+4522 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvd-secondary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- advisories.mageia.org/MGASA-2014-0218.html
- lists.opensuse.org/opensuse-updates/2014-05/msg00083.html
- lxml.de/3.3/changes-3.3.5.html
- seclists.org/fulldisclosure/2014/Apr/210
- secunia.com/advisories/58013
- secunia.com/advisories/58744
- secunia.com/advisories/59008
- www.debian.org/security/2014/dsa-2941
- www.mandriva.com/security/advisories?name=MDVSA-2015:112
- www.openwall.com/lists/oss-security/2014/05/09/7
- www.ubuntu.com/usn/USN-2217-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.