A mutation XSS affects users calling bleach.clean with all of:
svg or math in the allowed/whitelisted tagsstrip=FalseUsers are encouraged to upgrade to bleach v3.1.2 or greater.
bleach.clean calls to use strip=True, or not whitelist math or svg tags and one or more of the following tags:script
noscript
style
noframes
xmp
noembed
iframe
unsafe-inline and unsafe-eval script-srcs) will also help mitigate the risk.If you have any questions or comments about this advisory:
{
"github_reviewed": true,
"nvd_published_at": "2020-03-24T22:15:00Z",
"cwe_ids": [
"CWE-79"
],
"github_reviewed_at": "2020-03-23T22:25:38Z",
"severity": "MODERATE"
}