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

exploitDog

github логотип

GHSA-vp4f-wxgw-7x8x

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

Описание

Improper Neutralization of Script in Attributes in @dcl/single-sign-on-client

Impact

Improper input validation in the init function allows arbitrary javascript to be executed using the javascript: prefix

SSO.init('javascript:alert("javascript successfully injected")')

Patches

This vulnerability was patched on version 0.1.0

Workarounds

This vulnerability can be prevented if user input correctly sanitized or there is no user input pass to the init function

Пакеты

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

@dcl/single-sign-on-client

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

< 0.1.0

0.1.0

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-79

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

CVSS3: 7.5
nvd
больше 2 лет назад

@dcl/single-sign-on-client is an open source npm library which deals with single sign on authentication flows. Improper input validation in the `init` function allows arbitrary javascript to be executed using the `javascript:` prefix. This vulnerability has been patched on version `0.1.0`. Users are advised to upgrade. Users unable to upgrade should limit untrusted user input to the `init` function.

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-79