PyPi: Html5lib

CVE-2016-9910

Safety vulnerability ID: 35694

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 22, 2017 Updated at Mar 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

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.
https://github.com/html5lib/html5lib-python/commit/9b8d8eb5afbc066b7fac9390f5ec75e5e8a7cab7

Affected package

html5lib

Latest version: 1.1

HTML parser based on the WHATWG HTML specification

Affected versions

Fixed versions

Vulnerability changelog

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.


MLIST:[oss-security] 20161206 CVE Request: html5lib: potential cross-site scripting vulnerablity: quote attributes that need escaping in legacy browsers: http://www.openwall.com/lists/oss-security/2016/12/06/5
MLIST:[oss-security] 20161208 Re: CVE Request: html5lib: potential cross-site scripting vulnerablity: quote attributes that need escaping in legacy browsers: http://www.openwall.com/lists/oss-security/2016/12/08/8
CONFIRM:https://github.com/html5lib/html5lib-python/commit/9b8d8eb5afbc066b7fac9390f5ec75e5e8a7cab7: https://github.com/html5lib/html5lib-python/commit/9b8d8eb5afbc066b7fac9390f5ec75e5e8a7cab7
CONFIRM:https://github.com/html5lib/html5lib-python/issues/11: https://github.com/html5lib/html5lib-python/issues/11
CONFIRM:https://github.com/html5lib/html5lib-python/issues/12: https://github.com/html5lib/html5lib-python/issues/12
CONFIRM:https://html5lib.readthedocs.io/en/latest/changes.html#b9: https://html5lib.readthedocs.io/en/latest/changes.html#b9
BID:95132: http://www.securityfocus.com/bid/95132

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.1

CVSS v3 Details

MEDIUM 6.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 4.3
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
PARTIAL
Availability Impact (A)
NONE