CVE-2020-7741
CRITICAL9.9EPSS 0.52%XSS in hello.js
Published: 1/13/2021Modified: 3/13/2026
Also known as:GHSA-7jh9-6cpf-h4m7
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)`.
Affected packages (1)
- npm/hellojsfrom 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 |