CVE-2020-7741
XSS in hello.js
9.9
CRITICAL
CVSS 3.1
EPSS 0.52%
Description
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)`.
How to fix CVE-2020-7741
To remediate CVE-2020-7741, upgrade the affected package to a fixed version below.
- npm/hellojs—upgrade to 1.18.6 or later
Is CVE-2020-7741 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.18.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H |