{"cve":"CVE-2020-7741","nvd":{"published":"2020-10-06T15:15:15.757","modified":"2026-06-17T03:25:21.750","status":"Modified","description":"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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H","score":9.9},"cwes":["CWE-79"],"references":["https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545","https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669","https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546","https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545","https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669"],"products":["hello.js_project:hello.js"],"source":"nvd","synced_at":"2026-10-19T21:09:53.489947993+00:00"},"epss":{"cve":"CVE-2020-7741","score":0.01476,"percentile":0.73849,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-7jh9-6cpf-h4m7","url":"https://osv.dev/vulnerability/GHSA-7jh9-6cpf-h4m7","summary":"XSS in hello.js","modified":"2026-07-08T06:49:36.561801408Z","packages":[{"ecosystem":"npm","name":"hellojs","purl":"pkg:npm/hellojs","ranges":["<1.18.6"],"fixed":["1.18.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}