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
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lxml | < 3.3.5 | 3.3.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-3146
- https://github.com/lxml/lxml/pull/273
- https://github.com/lxml/lxml/commit/3f3082e0a67851cde26a48da3d1f4b75d8aa07ec
- https://github.com/lxml/lxml/commit/86e81ab393ba14c1be71284675851a3bdce57d69
- https://github.com/lxml/lxml/commit/e86b294f1f81b899a59925123560ff924a72f1cc
- https://github.com/lxml/lxml
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2014-9.yaml
- https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html
- https://web.archive.org/web/20140724172044/http://secunia.com/advisories/58013
- https://web.archive.org/web/20140805110535/http://secunia.com/advisories/59008
- https://web.archive.org/web/20140806061046/http://secunia.com/advisories/58744
- https://web.archive.org/web/20141017122607/https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html
- https://web.archive.org/web/20150523055039/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:112/?name=MDVSA-2015:112
- https://web.archive.org/web/20200228180542/http://www.securityfocus.com/bid/67159
- http://advisories.mageia.org/MGASA-2014-0218.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00083.html
- http://lxml.de/3.3/changes-3.3.5.html
- http://seclists.org/fulldisclosure/2014/Apr/210
- http://seclists.org/fulldisclosure/2014/Apr/319
- http://www.debian.org/security/2014/dsa-2941
- http://www.openwall.com/lists/oss-security/2014/05/09/7
- http://www.ubuntu.com/usn/USN-2217-1
- http://www.securityfocus.com/bid/67159
- http://secunia.com/advisories/58013
- http://secunia.com/advisories/58744
- http://secunia.com/advisories/59008
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:112
- https://github.com/advisories/GHSA-57qw-cc2g-pv5p
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
lxml- Disclosed
- 14.05.2014
- Updated
- 11.10.2026 12:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-57qw-cc2g-pv5p - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2014-9 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: lxml
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 05.2014 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 6
Disclosures per year
- 2017: 0
- 2018: 1
- 2019: 0
- 2020: 1
- 2021: 2
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
earlier: 1
-
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 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.