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

exploitDog

nvd логотип

CVE-2023-23627

Опубликовано: 28 янв. 2023
Источник: nvd
CVSS3: 6.1
EPSS Низкий

Описание

Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 and later, prior to 6.0.1, are vulnerable to Cross-site Scripting. When Sanitize is configured with a custom allowlist that allows noscript elements, attackers are able to include arbitrary HTML, resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. The default configurations do not allow noscript elements and are not vulnerable. This issue only affects users who are using a custom config that adds noscript to the element allowlist. This issue has been patched in version 6.0.1. Users who are unable to upgrade can prevent this issue by using one of Sanitize's default configs or by ensuring that their custom config does not include noscript in the element allowlist.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:*
Версия от 5.0.0 (включая) до 6.0.1 (исключая)

EPSS

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

6.1 Medium

CVSS3

Дефекты

CWE-79

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

CVSS3: 6.1
ubuntu
около 3 лет назад

Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 and later, prior to 6.0.1, are vulnerable to Cross-site Scripting. When Sanitize is configured with a custom allowlist that allows `noscript` elements, attackers are able to include arbitrary HTML, resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. The default configurations do not allow `noscript` elements and are not vulnerable. This issue only affects users who are using a custom config that adds `noscript` to the element allowlist. This issue has been patched in version 6.0.1. Users who are unable to upgrade can prevent this issue by using one of Sanitize's default configs or by ensuring that their custom config does not include `noscript` in the element allowlist.

CVSS3: 6.1
debian
около 3 лет назад

Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 ...

CVSS3: 6.1
github
около 3 лет назад

Improper neutralization of `noscript` element content may allow XSS in Sanitize

EPSS

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

6.1 Medium

CVSS3

Дефекты

CWE-79