Skip to main content
← All vulnerabilities
CVE-2020-7741GHSA-7JH9-6CPF-H4M7SNYK-JS-HELLOJS-1014546

Cross-site Scripting (XSS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.18.6
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a hellojs

    fixed in 1.18.6

  • hellojsnpm

    fixed in 1.18.6

References 3

snyk.io

GitHub · MrSwitch/hello.js