Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-m6xf-fq7q-8743

Опубликовано: 24 мар. 2020
Источник: github
Github: Прошло ревью
CVSS4: 5.3
CVSS3: 6.1

Описание

Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag

Impact

A mutation XSS affects users calling bleach.clean with all of:

  • the svg or math in the allowed/whitelisted tags
  • an RCDATA tag (see below) in the allowed/whitelisted tags
  • the keyword argument strip=False

Patches

Users are encouraged to upgrade to bleach v3.1.2 or greater.

Workarounds

  • modify 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

References

Credits

  • Reported by Yaniv Nizry from the CxSCA AppSec group at Checkmarx

For more information

If you have any questions or comments about this advisory:

Пакеты

Наименование

bleach

pip
Затронутые версииВерсия исправления

< 3.1.2

3.1.2

EPSS

Процентиль: 61%
0.00419
Низкий

5.3 Medium

CVSS4

6.1 Medium

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 6.1
ubuntu
почти 6 лет назад

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.

CVSS3: 6.1
nvd
почти 6 лет назад

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.

CVSS3: 6.1
debian
почти 6 лет назад

In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCD ...

CVSS3: 4.7
fstec
почти 6 лет назад

Уязвимость библиотеки для очистки HTML на основе белых списков python-bleach, позволяющая нарушителю оказать воздействие на целостность данных

suse-cvrf
почти 5 лет назад

Security update for python-bleach

EPSS

Процентиль: 61%
0.00419
Низкий

5.3 Medium

CVSS4

6.1 Medium

CVSS3

Дефекты

CWE-79