SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2020-7741

So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1).

CRITICAL 9.9EPSS 1.48%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.48%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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 3.1
9.9 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H
EPSS
1.48% probability · 72th percentile
CISA KEV
Not listed
Weakness
CWE-79
Affected
hello.js project/hello.js
Source
report@snyk.io

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.