CVE-2020-7741

Summary

CVECVE-2020-7741
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-10-06 15:15:00 UTC
Updated2020-10-19 19:44:00 UTC
DescriptionThis 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).

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Hello.js Project Hello.js All All All All
Application Hello.js Project Hello.js All All All All

References

ReferenceSourceLinkTags
fix(xss): oauth_redirect should be a valid url · MrSwitch/hello.js@d6f5137 · GitHub MISC github.com Patch, Third Party Advisory
Cross-site Scripting (XSS) in hellojs | Snyk MISC snyk.io Third Party Advisory
github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e... MISC github.com Broken Link
hello.js/hello.all.js at 3b79ec93781b3d7b9c0b56f598e060301d1f3e73 · MrSwitch/hello.js · GitHub MITRE github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Anonymous Reporter

Legacy QID Mappings

  • 983715 Nodejs (npm) Security Update for hellojs (GHSA-7jh9-6cpf-h4m7)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report