Cross-site Scripting (XSS) Affecting html5lib package, versions [,0.99999999)[1.0b1,1.0b9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-HTML5LIB-40702
  • published4 Dec 2017
  • disclosed22 Feb 2017
  • creditGeoffrey Sneddon

Introduced: 22 Feb 2017

CVE-2016-9909  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade html5lib to version 1.0b9 or higher.

Overview

Affected versions of html5lib are vulnerable to Cross-site Scripting (XSS) attacks.

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.

Details

<>

CVSS Scores

version 3.1