Critical severity · published Oct 6, 2020
CVE-2020-7741
This affects the package hellojs before 1.18.6
9.9
CVSS
1.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.5% · higher than 74% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HE
Hello.js · Hello.js Project
before 1.18.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-7741
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-7741
Broken Link
https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545
Patch
https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669
Third Party Advisory
https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546
More from Hello.js
9.8
CVE-2021-26505
Prototype pollution vulnerability in MrSwitch hello.js version 1.18.6, allows remote attackers to execute arbitrary code via hello.utils.extend function
