7.5

CVE-2020-6817: mozilla bleach

Modified
AliasesGHSA-vqhp-cxgc-6wmmPYSEC-2020-340SNYK-PYTHON-BLEACH-561754
Published 16-02-2023Last modified 19-03-2025

Vulnerability summary

CVE-2020-6817 is a high (CVSS 7.5) vulnerability in mozilla bleach. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.72%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 16-02-2023
    PublishedVulnerability first disclosed.
  2. 19-03-2025
    Last modifiedVulnerability information updated.

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']}).

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.72%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.72% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugzilla.mozilla.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Mozilla2 products
Debian1 product
  • python-bleach< 1.4-1+deb8u1 | < 3.1.4-1
PyPI1 product
  • bleach< 3.1.4
Ubuntu1 product
  • python-bleach< 1.4.2-1ubuntu0.1~esm1 | < 2.1.2-1ubuntu0.1~esm1 | < 3.1.1-1ubuntu0.1~esm1

4 vendors · 5 products

References

14 links
Show all 14 references