Cross-site Scripting (XSS) Affecting bleach package, versions [,3.1.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.43% (76th 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-BLEACH-552160
  • published25 Feb 2020
  • disclosed19 Feb 2020
  • creditUnknown

Introduced: 19 Feb 2020

CVE-2020-6802  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade bleach to version 3.1.1 or higher.

Overview

bleach is a whitlist-based HTML sanitizing library that escapes or strips markup and attributes.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.

##Details

CVSS Scores

version 3.1