CVE-2020-6817

High

Description

bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).

SeverityHigh
CVSS7.5
Exploit probability—
ProductMozilla Bleach
PublishedFeb 16, 2023
First seenFeb 16, 2023
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • mozilla bleach3.1.4 or later
  • bleach3.1.4 or later

Affected products

ProductAffected versionsFixed in
mozilla bleachv < 3.1.43.1.4
bleachPyPIv < 3.1.43.1.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-6817 · Mozilla Bleach · Dark Radar