PT-2020-19758 · Hello.Js · Hellojs
Anonymous Reporter
+1
·
Published
2020-10-06
·
Updated
2022-09-07
·
CVE-2020-7741
CVSS v3.1
9.9
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
hellojs versions prior to 1.18.6
hello.js versions prior to 1.18.6
Description
The issue arises from the package getting the
oauth redirect parameter from the URL and passing it to location.assign without proper checks and sanitization. This allows for the injection of XSS payloads into the oauth redirect URL parameter, such as javascript:alert(1).Recommendations
For versions prior to 1.18.6, update to version 1.18.6 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the
oauth redirect parameter in the affected URL until a patch is available.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hellojs