Cross-site scripting (XSS) in hellojs
Priority MEDIUM 45CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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).
Why it matters now
EPSS 0.01476 74th percentileScored 2026-11-07
Fix Fixed hellojs: 1.18.6hellojs (npm): 1.18.6
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | hellojs | before 1.18.6 | 1.18.6 | Patch available | CNA |
| — | hellojs (npm) | before 1.18.6 | 1.18.6 | Patch available | GHSA-7jh9-6cpf-h4m7 |
- hellojs Vendor— Affected before 1.18.6 Fixed in 1.18.6 Patch available CNA
- hellojs (npm) Vendor— Affected before 1.18.6 Fixed in 1.18.6 Patch available GHSA-7jh9-6cpf-h4m7
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hello.js_project:hello.js:*:*:*:*:*:node.js:*:* | before 1.18.6 | Vulnerable | Hello.js Project |
- cpe:2.3:a:hello.js_project:hello.js:*:*:*:*:*:node.js:*:* Versions before 1.18.6 Vulnerable ·Hello.js Project
Remediation
- Fix · CNA hellojs Fixed in 1.18.6
- Fix · GHSA-7jh9-6cpf-h4m7 hellojs (npm) Fixed in 1.18.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7741
- 2026-10-03 Alias added: GHSA-7jh9-6cpf-h4m7
References
More Hello.js Project Hello.js vulnerabilities
- TI-2021-08268 Prototype pollution vulnerability in MrSwitch hello.js version 1.18.6, allows remote… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-7741 · CVE Program
- CVE-2020-7741 · NVD
- FIRST EPSS
- GHSA-7jh9-6cpf-h4m7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences