Back
CVE-2020-7741
Cross-site Scripting (XSS)
Critical9.9EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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).
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H |
| NVDNVD · Modified | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H |
- EPSS (exploitation in 30 days)
- 1.5% · top 26% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.9.
Weakness
- Cross-site Scripting (XSS)
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
hellojs
- affected unspecified – < 1.18.6
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmhellojsGHSA-7jh9-6cpf-h4m7 (opens in a new tab)
References (3)
- https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7jh9-6cpf-h4m7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7741)Record last updated .