CVE-2016-9909
MEDIUM 6.1CVSS 3.0Improper Neutralization of Input During Web Page Generation in html5lib
The serializer in html5lib before 0.99999999 might allow remote attackers to conduct cross-site scripting (XSS) attacks by leveraging mishandling of the < (less than) character in attribute values.
- Published
- 22 Feb 2017
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-v9v9-xffq-rwr4PYSEC-2017-14
- Sources
- NVDJSONOSV GHSA-v9v9-xffq-rwr4JSONOSV PYSEC-2017-14JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | html5lib | html5libcpe:2.3:a:html5lib:html5lib:*:1.0b8:*:*:*:*:*:* |
<= 0.99999999 | |
| OSV | PyPI | html5lib | < 0.999999999 | 0.999999999 |
References
- http://www.openwall.com/lists/oss-security/2016/12/06/5 · Mailing List, Patch, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2016/12/08/8 · Mailing List, Patch, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/95132 · Third Party Advisory, VDB Entry, WEB
- https://github.com/html5lib/html5lib-python/commit/9b8d8eb5afbc066b7fac9390f5ec75e5e8a7cab7 · Patch, WEB, FIX
- https://github.com/html5lib/html5lib-python/issues/11 · Vendor Advisory, WEB, REPORT
- https://github.com/html5lib/html5lib-python/issues/12 · Vendor Advisory, WEB, REPORT
- https://html5lib.readthedocs.io/en/latest/changes.html#b9 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-9909 · ADVISORY
- https://github.com/advisories/GHSA-v9v9-xffq-rwr4 · ADVISORY
- https://github.com/html5lib/html5lib-python · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/html5lib/PYSEC-2017-14.yaml · WEB
- https://web.archive.org/web/20161229134056/http://www.securityfocus.com/bid/95132 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 22 Feb 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Feb 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)