Vulnerability 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).
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hello.Js Project | Hello.Js | < 1.18.6 |
Related Weaknesses (CWE)
References
- https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3eBroken Link
- https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546Third Party Advisory
- https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3eBroken Link
- https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546Third Party Advisory
FAQ
What is CVE-2020-7741?
CVE-2020-7741 is a vulnerability with a CVSS score of 9.9 (CRITICAL). 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 payload...
How severe is CVE-2020-7741?
CVE-2020-7741 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2020-7741?
Check the references section above for vendor advisories and patch information. Affected products include: Hello.Js Project Hello.Js.