Skip to content
OpenAdvisories
Critical · 9.9 CVE-2020-7741 EUVD-2021-0496GHSA-7jh9-6cpf-h4m7SNYK-JS-HELLOJS-1014546

Cross-site Scripting (XSS)

Published Oct 6, 2020 · Updated Sep 16, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— hellojs unspecified – < 1.18.6 1.18.6

Affected packages

EcosystemPackageAffectedFixedRecord
npm hellojs < 1.18.6 1.18.6 GHSA-7jh9-6cpf-h4m7

References