Описание
XSS in hello.js
This affects the package hello.js before 1.18.6. The code get the param oauth_redirect from url and pass it to location.assign without any check and sanitisation. So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1).
Пакеты
Наименование
hellojs
npm
Затронутые версииВерсия исправления
< 1.18.6
1.18.6
Связанные уязвимости
CVSS3: 9.9
nvd
больше 5 лет назад
This affects the package hellojs before 1.18.6. The code get the param oauth_redirect from url and pass it to location.assign without any check and sanitisation. So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1).