{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-6816","id":"CVE-2020-6816","title":"Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag","description":"In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.","descriptionLong":"In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.","published":"2020-03-24T21:15:40.000Z","updated":"2026-10-20T10:53:29.593166215Z","reserved":"2020-01-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mozilla","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Mozilla Bleach"],"affectedProducts":[{"vendor":"n/a","product":"Mozilla Bleach","defaultStatus":null,"versions":[{"status":"affected","version":"<=3.11"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"bleach","purl":"pkg:pypi/bleach","ranges":["<3.1.2"],"fixed":["3.1.2"],"advisory":"GHSA-m6xf-fq7q-8743"}],"cwes":["CWE-79"],"aliases":["GHSA-m6xf-fq7q-8743","PYSEC-2020-28"],"references":[{"url":"https://github.com/mozilla/bleach/security/advisories/GHSA-m6xf-fq7q-8743","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4277","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-6816","tags":["advisory"]},{"url":"https://github.com/mozilla/bleach","tags":["package"]},{"url":"https://github.com/mozilla/bleach/releases/tag/v3.1.2","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2020-28.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5/","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0134,"epssPercentile":0.71882,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-6816","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-6816","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-6816","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m6xf-fq7q-8743","ok":true,"note":"GHSA-m6xf-fq7q-8743"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-6816","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}