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

exploitDog

github логотип

GHSA-m52x-29pq-w3vv

Опубликовано: 22 нояб. 2019
Источник: github
Github: Прошло ревью
CVSS3: 4.8

Описание

Pannellum Cross-Site Scripting due to data not being sanitized for URIs or vbscript

Versions of pannellum prior to 2.5.6 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize URLs for data URIs, which may allow attackers to execute arbitrary code in a victim's browser.

Recommendation

Upgrade to version 2.5.6 or later.

Пакеты

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

pannellum

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

>= 2.5.0, < 2.5.5

2.5.5

EPSS

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

4.8 Medium

CVSS3

Дефекты

CWE-79

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

CVSS3: 4.8
nvd
около 6 лет назад

In Pannellum from 2.5.0 through 2.5.4 URLs were not sanitized for data URIs (or vbscript:), allowing for potential XSS attacks. Such an attack would require a user to click on a hot spot to execute and would require an attacker-provided configuration. The most plausible potential attack would be if pannellum.htm was hosted on a domain that shared cookies with the targeted site's user authentication; an &lt;iframe&gt; could then be embedded on the attacker's site using pannellum.htm from the targeted site, which would allow the attacker to potentially access information from the targeted site as the authenticated user (or worse if the targeted site did not have adequate CSRF protections) if the user clicked on a hot spot in the attacker's embedded panorama viewer. This was patched in version 2.5.5.

EPSS

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

4.8 Medium

CVSS3

Дефекты

CWE-79