{"id":"CVE-2020-6817","details":"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']}).","aliases":["GHSA-vqhp-cxgc-6wmm","PYSEC-2020-340","SNYK-PYTHON-BLEACH-561754"],"modified":"2026-04-16T00:06:20.869176633Z","published":"2023-02-16T22:15:10.650Z","related":["GHSA-vqhp-cxgc-6wmm","openSUSE-SU-2021:0552-1","openSUSE-SU-2021:0571-1","openSUSE-SU-2024:11219-1","openSUSE-SU-2024:14134-1"],"references":[{"type":"ADVISORY","url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm"},{"type":"REPORT","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1623633"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mozilla/bleach","events":[{"introduced":"0"},{"fixed":"6e74a5027b57055cdaeb040343d32934121392a7"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"3.1.4"}],"cpe":"cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*"}}],"versions":["0.1.2","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4.0","0.5.0","1.0.0","1.0.0rc","1.0.0rc2","1.0.1","1.0.2","1.0.3","v1.0.4","v1.1.0","v1.1.1","v1.2.1","v1.2.2","v1.4","v1.4.1","v1.4.2","v1.5","v2.0","v2.1","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v3.0.0","v3.0.1","v3.0.2","v3.1.0","v3.1.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-6817.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}