{"id":"GHSA-v9v9-xffq-rwr4","summary":"Improper Neutralization of Input During Web Page Generation in html5lib","details":"The serializer in html5lib before 0.99999999 might allow remote attackers to conduct cross-site scripting (XSS) attacks by leveraging mishandling of the \u003c (less than) character in attribute values.","aliases":["CVE-2016-9909","PYSEC-2017-14"],"modified":"2024-09-20T22:30:55.296391Z","published":"2022-05-17T02:57:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-07-06T19:51:12Z","nvd_published_at":"2017-02-22T16:59:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9909"},{"type":"WEB","url":"https://github.com/html5lib/html5lib-python/issues/11"},{"type":"WEB","url":"https://github.com/html5lib/html5lib-python/issues/12"},{"type":"WEB","url":"https://github.com/html5lib/html5lib-python/commit/9b8d8eb5afbc066b7fac9390f5ec75e5e8a7cab7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v9v9-xffq-rwr4"},{"type":"PACKAGE","url":"https://github.com/html5lib/html5lib-python"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/html5lib/PYSEC-2017-14.yaml"},{"type":"WEB","url":"https://html5lib.readthedocs.io/en/latest/changes.html#b9"},{"type":"WEB","url":"https://web.archive.org/web/20161229134056/http://www.securityfocus.com/bid/95132"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/12/06/5"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/12/08/8"}],"affected":[{"package":{"name":"html5lib","ecosystem":"PyPI","purl":"pkg:pypi/html5lib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.999999999"}]}],"versions":["0.10","0.11","0.11.1","0.2","0.9","0.90","0.95","0.99","0.999","0.9999","0.99999","0.999999","0.9999999","0.99999999"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-v9v9-xffq-rwr4/GHSA-v9v9-xffq-rwr4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/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"}]}