CVE-2020-7741
Summary
| CVE | CVE-2020-7741 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-10-06 15:15:00 UTC |
| Updated | 2020-10-19 19:44:00 UTC |
| 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). |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Hello.js Project | Hello.js | All | All | All | All |
| Application | Hello.js Project | Hello.js | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| fix(xss): oauth_redirect should be a valid url · MrSwitch/hello.js@d6f5137 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| Cross-site Scripting (XSS) in hellojs | Snyk | MISC | snyk.io | Third Party Advisory |
| github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e... | MISC | github.com | Broken Link |
| hello.js/hello.all.js at 3b79ec93781b3d7b9c0b56f598e060301d1f3e73 · MrSwitch/hello.js · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Anonymous Reporter
Legacy QID Mappings
- 983715 Nodejs (npm) Security Update for hellojs (GHSA-7jh9-6cpf-h4m7)