CVE-2020-7741Published Oct 6, 2020 · Oct 6Updated Oct 20
Cross-site Scripting (XSS)
hellojs
Critical9.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hellojs npm |
|
|
Original description
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).
From the CVE record · snyk