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

exploitDog

github логотип

GHSA-g3fq-3v3g-mh32

Опубликовано: 16 апр. 2021
Источник: github
Github: Прошло ревью
CVSS3: 4.6

Описание

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs

Impact

The Nextcloud dialogs library before 3.1.2 did insufficiently escape text input passed to a toast. If your application displays toasts with user-supplied input, this could lead to a XSS vulnerability.

Note: Nextcloud Server employs a strict Content Security Policy that mitigates the risk of these XSS vulnerabilities.

Patches

The vulnerability has been patched in version 3.1.2. If you need to display HTML in the toast, explicitly pass the options.isHTML config flag.

Workarounds

Make sure no user-supplied input flows into toasts.

Пакеты

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

@nextcloud/dialogs

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

< 3.1.2

3.1.2

EPSS

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

4.6 Medium

CVSS3

Дефекты

CWE-79
CWE-80

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

CVSS3: 4.6
nvd
почти 5 лет назад

The Nextcloud dialogs library (npm package @nextcloud/dialogs) before 3.1.2 insufficiently escaped text input passed to a toast. If your application displays toasts with user-supplied input, this could lead to a XSS vulnerability. The vulnerability has been patched in version 3.1.2 If you need to display HTML in the toast, explicitly pass the `options.isHTML` config flag.

EPSS

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

4.6 Medium

CVSS3

Дефекты

CWE-79
CWE-80