What’s Vulnerable › Vulnerabilities
CVE-2020-7741: Cross-site Scripting (XSS)
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-10-06 · updated 2026-06-17
- Weakness: CWE-79
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).
Affected products
- Hello.Js Project Hello.Js: before 1.18.6 — fixed in 1.18.6
How to fix
Upgrade to a fixed version: Hello.Js Project Hello.Js 1.18.6. Check the vendor advisory for mitigations.
References
- https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545
- https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669
- https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546
- https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545
- https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669
- https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546
Get alerted when CVE-2020-7741 or the next vulnerability affects your stack