Vulnerability · Published Oct 6, 2020 · Assigned by snyk

CVE-2020-7741Cross-site Scripting (XSS)

Critical 9.9

In plain English

A critical-severity security flaw in hellojs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.9Critical
Exploit odds (30 days)1.5%top 26.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmhellojs1.18.6GHSA-7jh9-6cpf-h4m7

Affected products (as reported)

VendorProductVersions
n/a hellojs unspecified – before 1.18.6

References