logo

CVE-2020-7741 hellojs

Package

Manager: npm
Name: hellojs
Vulnerable Version: >=0 <1.18.6

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00525 pctl0.66055

Details

XSS in hello.js This affects the package hello.js 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)`.

Metadata

Created: 2021-01-13T19:07:01Z
Modified: 2023-09-12T18:13:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-7jh9-6cpf-h4m7/GHSA-7jh9-6cpf-h4m7.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-7jh9-6cpf-h4m7
Finding: F008
Auto approve: 1