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

References

https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm

https://bugzilla.mozilla.org/show_bug.cgi?id=1623633

Details

Source: Mitre, NVD

Published: 2023-02-16

Updated: 2023-02-28

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High