CVE-2020-7741 Cross-site Scripting (XSS)
CriticalCVSS 9.9
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
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).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm hellojs(npm) | < 1.18.6 | 1.18.6 |
| hello.js project hello.js | < 1.18.6 | 1.18.6 |
References
- nvd.nist.gov third-party-advisory
- github.com patch third-party-advisory
- github.com broken-link
- snyk.io third-party-advisory
- github.com