hellojs
Affected
- introduced
0, fixed1.18.6(semver)
Fixed versions
1.18.6
Fix
- Fixed version
1.18.6npm install [email protected]
Advisory
Also known as: CVE-2020-7741, SNYK-JS-HELLOJS-1014546
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).
Critical Basis: The source's own band: CRITICAL
0, fixed 1.18.6 (semver)1.18.6
1.18.6npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0