Live threats

All CVEs / Html5lib

CVE-2016-9909Html5lib

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Html5lib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
html5libhtml5lib≤ 0.99999999

Official sources

References

Links published by the sources. Open them with care.