CVE-2014-3146
lxml Cross-site Scripting Via Control Characters
Reported by redhat · Published May 14, 2014
python-lxml is fixed in 3.3.4 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-lxml | PyPI | 3.3.4 |
| lxml | PyPI | 3.3.5 |
| python-lxml-docs | Amazon Linux | 3.2.1-4.amzn2.0.4 |
| python-lxml | Amazon Linux | 3.2.1-4.amzn2.0.4 |
| lxml | Ubuntu:14.04:LTS | 3.3.3-1ubuntu0.1 |
| lxml | lxml | 3.3.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | python-lxml | 0 |
| amazon:2 | python-lxml-docs | 0 |
| amazon:2 | python-lxml | 0 |
| n/a | n/a | * |
| PyPI | lxml | 0 |
Timeline
- May 14, 2014 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 30, 2024 CVE Updated
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (4 in total, the first dated here)
- Oct 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-3146
vulnetix vdb fixes CVE-2014-3146
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-3146/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-2941 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- [oss-security] 20140509 Re: CVE request: python-lxml clean_html() input sanitization flaw mailing-listx_refsource_MLIST
- USN-2217-1 vendor-advisoryx_refsource_UBUNTU
- [lxml] 20140415 lxml.html.clean vulnerability mailing-listx_refsource_MLIST
- 58744 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- 67159 vdb-entryx_refsource_BID
- MDVSA-2015:112 vendor-advisoryx_refsource_MANDRIVA
- 58013 third-party-advisoryx_refsource_SECUNIA
- 20140415 lxml (python lib) vulnerability mailing-listx_refsource_FULLDISC
- 59008 third-party-advisoryx_refsource_SECUNIA
- openSUSE-SU-2014:0735 vendor-advisoryx_refsource_SUSE
- 20140430 Re: lxml (python lib) vulnerability mailing-listx_refsource_FULLDISC
- https://nvd.nist.gov/vuln/detail/CVE-2014-3146 advisory
- https://github.com/advisories/GHSA-57qw-cc2g-pv5p advisory
- https://github.com/lxml/lxml url
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2014-9.yaml advisory
- https://web.archive.org/web/20140724172044/http://secunia.com/advisories/58013 url
- https://web.archive.org/web/20140805110535/http://secunia.com/advisories/59008 url
…and 10 more