{"id":"GHSA-57qw-cc2g-pv5p","summary":"lxml Cross-site Scripting Via Control Characters","details":"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.","aliases":["CVE-2014-3146","PYSEC-2014-9"],"modified":"2024-09-30T17:23:00.823195Z","published":"2022-05-14T04:01:59Z","database_specific":{"github_reviewed_at":"2023-08-04T20:12:48Z","nvd_published_at":"2014-05-14T19:55:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3146"},{"type":"WEB","url":"https://github.com/lxml/lxml/pull/273"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/3f3082e0a67851cde26a48da3d1f4b75d8aa07ec"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/86e81ab393ba14c1be71284675851a3bdce57d69"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/e86b294f1f81b899a59925123560ff924a72f1cc"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2014-9.yaml"},{"type":"WEB","url":"https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html"},{"type":"WEB","url":"https://web.archive.org/web/20140724172044/http://secunia.com/advisories/58013"},{"type":"WEB","url":"https://web.archive.org/web/20140805110535/http://secunia.com/advisories/59008"},{"type":"WEB","url":"https://web.archive.org/web/20140806061046/http://secunia.com/advisories/58744"},{"type":"WEB","url":"https://web.archive.org/web/20141017122607/https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html"},{"type":"WEB","url":"https://web.archive.org/web/20150523055039/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:112/?name=MDVSA-2015:112"},{"type":"WEB","url":"https://web.archive.org/web/20200228180542/http://www.securityfocus.com/bid/67159"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2014-0218.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2014-05/msg00083.html"},{"type":"WEB","url":"http://lxml.de/3.3/changes-3.3.5.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2014/Apr/210"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2014/Apr/319"},{"type":"WEB","url":"http://www.debian.org/security/2014/dsa-2941"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/05/09/7"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2217-1"}],"affected":[{"package":{"name":"lxml","ecosystem":"PyPI","purl":"pkg:pypi/lxml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.5"}]}],"versions":["1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","2.0","2.0.10","2.0.11","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.3","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","3.0","3.0.2","3.1.0","3.1.1","3.1.2","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3.0","3.3.1","3.3.2","3.3.3","3.3.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-57qw-cc2g-pv5p/GHSA-57qw-cc2g-pv5p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}