CVE-2014-3146 json
lxml Cross-site Scripting Via Control Characters
published 2014-05-14 12 y ago modified 2026-06-17 4 mo ago also GHSA-57qw-cc2g-pv5p , PYSEC-2014-9 , EUVD-2014-0033
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.3%
- EPSS 6.3% chance of exploitation in 30 days, percentile 93%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- pypi lxml 3.3.5
- lxml Debian 14, Debian 13, Debian 12 3.3.5-1
debian advisories DEBIAN-CVE-2014-3146
- lxml Ubuntu 14.04 LTS 3.3.3-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2014-3146
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/lxml/lxml@3f3082e commit
- github.com/lxml/lxml@86e81ab commit
- github.com/lxml/lxml@e86b294 commit
- github.com/lxml/lxml#273 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-3146 updated cvss 2.6
python-lxml: clean_html input sanitization flaw
-
Red Hat Enterprise Linux 5 python-lxml Red Hat Enterprise Linux 6 python-lxml Red Hat Enterprise Linux 7 python-lxmlaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-39155)
- Published
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
6.33% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-39155 lxml - 'clean_html' Security Bypass remote, 2014-04-15
- mailman-mail5.webfaction.com https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html referenced PoC, tagged "exploit" by a source, unverified
- securityfocus.com http://www.securityfocus.com/bid/67159 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2014/Apr/319 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lxml | <3.3.5 |
3.3.5 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/lxml/lxml/pull/273
web
-
github.com
/lxml/lxml/commit/3f3082e0a67851cde26a48da3d1f4b75d8aa07ec
web
-
github.com
/lxml/lxml/commit/86e81ab393ba14c1be71284675851a3bdce57d69
web
-
github.com
/lxml/lxml/commit/e86b294f1f81b899a59925123560ff924a72f1cc
web
-
mailman-mail5.webfaction.com
/pipermail/lxml/2014-April/007128.html
mailing-list, web, exploit
-
securityfocus.com
/bid/67159
vdb-entry, exploit, web
-
seclists.org
/fulldisclosure/2014/Apr/319
mailing-list, web, exploit
-
debian.org
/security/2014/dsa-2941
vendor-advisory, web, advisory
-
ubuntu.com
/usn/USN-2217-1
vendor-advisory, web, advisory
-
mandriva.com
/security/advisories?name=MDVSA-2015:112
vendor-advisory, advisory
-
lists.opensuse.org
/opensuse-updates/2014-05/msg00083.html
vendor-advisory, web
-
secunia.com
/advisories/58013
third-party-advisory, vendor-advisory, advisory
-
lxml.de
/3.3/changes-3.3.5.html
web
-
openwall.com
/lists/oss-security/2014/05/09/7
mailing-list, web
-
secunia.com
/advisories/58744
third-party-advisory, advisory
-
advisories.mageia.org
/MGASA-2014-0218.html
web, advisory
-
seclists.org
/fulldisclosure/2014/Apr/210
mailing-list, web
-
secunia.com
/advisories/59008
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2014-3146
advisory
-
github.com
/lxml/lxml
package
-
github.com
/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2014-9.yaml
web
-
web.archive.org
/web/20140724172044/http://secunia.com/advisories/58013
web
-
web.archive.org
/web/20140805110535/http://secunia.com/advisories/59008
web
-
web.archive.org
/web/20140806061046/http://secunia.com/advisories/58744
web
-
web.archive.org
/web/20141017122607/https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html
web
-
web.archive.org
/web/20150523055039/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:112/?name=MDVSA
web
-
web.archive.org
/web/20200228180542/http://www.securityfocus.com/bid/67159
web
-
github.com
/advisories/GHSA-57qw-cc2g-pv5p
advisory
Sources
- CVE List CVE-2014-3146
- GitHub Advisory GHSA-57qw-cc2g-pv5p
- NVD CVE-2014-3146
- OSV PYSEC-2014-9
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.