CVE-2016-9910 · redhat
CVE-2016-9910
The serializer in html5lib before 0.99999999 might allow remote attackers to conduct cross-site scripting (XSS) attacks by leveraging mishandling of special characters in attribute values, a different vulnerability than CVE-2016-9909.
Published 2017-02-22, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: html5lib 0.99999999, 0.999999999 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in html5lib/html5lib-python by 9b8d8eb5af. Functions changed by the fix: HTMLSerializer, __init__, serialize. Regression tests: html5lib/tests/serializer-testdata/core.test, html5lib/tests/serializer-testdata/options.test, html5lib/tests/test_serializer.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-02-22 | Published |
| 2017-02-22 | Package advisory PYSEC-2017-15 |
| 2022-05-17 | Package advisory GHSA-8f6m-gfq9-g33v |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.16% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8f6m-gfq9-g33v | html5lib (PyPI) | 0.99999999 |
| PYSEC-2017-15 | html5lib (PyPI) | 0.999999999 |
Also known as: GHSA-8f6m-gfq9-g33v, PYSEC-2017-15
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2016-9909 | 2017-02-22 | 6.1 | same package: html5lib (PyPI) |
| CVE-2026-128824 | 2026-11-13 | 5.4 | Quay: quay: reflected xss via image_id in v1 registry error responses |
| CVE-2026-109131 | 2026-10-15 | 5.4 | Ansible-ui: ansible-ui: stored xss via unsafe javascript url scheme in hub collection module documentation (formatparturl) |
| CVE-2026-107889 | 2026-10-09 | 5.5 | Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass |
| CVE-2026-106033 | 2026-10-06 | 5.4 | Ansible: ansible-ui: ansible ui dom xss in /redirect next parameter |
| CVE-2026-102576 | 2026-10-05 | 4.2 | Quay: quay: dom-based cross-site scripting via unvalidated redirect_url on signin page |
| CVE-2026-102295 | 2026-10-05 | 5.4 | Quay: quay: dom-based cross-site scripting via oauth local callback format=json parameter |
| CVE-2026-84683 | 2026-09-23 | 8.7 | Automation-controller: automation-controller-container: automation-controller: stored cross-site scripting in the job stdout html view via ansi osc 8 hyperlink |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-9910, or call /api/v1/vulnerabilities/CVE-2016-9910. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.