CVE-2016-9909Html5lib
Medium 6.1 No auth needed
Follow: this CVE · Html5lib · Html5lib We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Feb 22, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Html5lib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | html5lib |
< 0.999999999 |
0.999999999 |
pip install "html5lib>=0.999999999" |
| PyPI | html5lib |
< 0.999999999 |
0.999999999 |
pip install "html5lib>=0.999999999" |
Per OSV / GitHub Advisories (GHSA-v9v9-xffq-rwr4, PYSEC-2017-14). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| html5lib | html5lib | ≤ 0.99999999 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Patch
- github.com Vendor Advisory
- github.com Vendor Advisory
- html5lib.readthedocs.io Release Notes