CVE-2020-7741
Hello.js Project Hello.js vulnerability
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).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Hello.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hello.js Project Hello.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669 · Patch
- snyk.io/vuln/SNYK-JS-HELLOJS-1014546 · Third Party Advisory
- github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.
- nvd.nist.gov/vuln/detail/CVE-2020-7741
- cve.org/CVERecord?id=CVE-2020-7741
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.