KeygraphLabs · CVE MCP

CVE-2016-9909 · redhat

CVE-2016-9909

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 2017-02-22, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
2.16%
percentile 82.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: html5lib 0.999999999 (PyPI). 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-22Published
2017-02-22Package advisory PYSEC-2017-14
2022-05-17Package advisory GHSA-v9v9-xffq-rwr4
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.16%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-v9v9-xffq-rwr4html5lib (PyPI)0.999999999
PYSEC-2017-14html5lib (PyPI)0.999999999

Also known as: GHSA-v9v9-xffq-rwr4, PYSEC-2017-14

Related

CVEPublishedCVSSSummary
CVE-2016-99102017-02-226.1same package: html5lib (PyPI)
CVE-2026-1288242026-11-135.4Quay: quay: reflected xss via image_id in v1 registry error responses
CVE-2026-1091312026-10-155.4Ansible-ui: ansible-ui: stored xss via unsafe javascript url scheme in hub collection module documentation (formatparturl)
CVE-2026-1078892026-10-095.5Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass
CVE-2026-1060332026-10-065.4Ansible: ansible-ui: ansible ui dom xss in /redirect next parameter
CVE-2026-1025762026-10-054.2Quay: quay: dom-based cross-site scripting via unvalidated redirect_url on signin page
CVE-2026-1022952026-10-055.4Quay: quay: dom-based cross-site scripting via oauth local callback format=json parameter
CVE-2026-846832026-09-238.7Automation-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-9909, or call /api/v1/vulnerabilities/CVE-2016-9909. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org