ADVISORIES

GitHub Advisory Database

GHSA-7jh9-6cpf-h4m7

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

Affected packages

EcosystemPackageAffected versions
npmhellojs
All versions before 1.18.6 (fixed in 1.18.6)

References