{"id":"GHSA-7jh9-6cpf-h4m7","revision":"4f27539276b34c898a71cbc8cf413be4","records":[{"revision":"4f27539276b34c898a71cbc8cf413be4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7jh9-6cpf-h4m7","aliases":["CVE-2020-7741","SNYK-JS-HELLOJS-1014546"],"title":"XSS in hello.js","description":"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)`.","state":0,"publishedAt":"2021-01-13T19:07:01+00:00","modifiedAt":"2026-07-08T06:49:36.5618014+00:00","affected":[{"ecosystem":"npm","name":"hellojs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.18.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-7741","https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669","https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545","https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546"],"sourceUrl":"https://github.com/advisories/GHSA-7jh9-6cpf-h4m7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7jh9-6cpf-h4m7","identifiers":["GHSA-7jh9-6cpf-h4m7","CVE-2020-7741","SNYK-JS-HELLOJS-1014546"]},"retained":false,"historicalAffected":[]}],"coverage":[]}