Advisory

GHSA-7jh9-6cpf-h4m7

Also known as: CVE-2020-7741, SNYK-JS-HELLOJS-1014546

Summary

XSS in hello.js

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-01-13 19:07 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

hellojs

npm · All systems

Affected

  • introduced 0, fixed 1.18.6 (semver)

Fixed versions

1.18.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences