{"id":"CVE-2020-7741","details":"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).","aliases":["GHSA-7jh9-6cpf-h4m7"],"modified":"2026-04-10T04:28:27.080332Z","published":"2020-10-06T15:15:15.757Z","related":["SNYK-JS-HELLOJS-1014546"],"references":[{"type":"WEB","url":"https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546"},{"type":"FIX","url":"https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mrswitch/hello.js","events":[{"introduced":"0"},{"fixed":"3d694a97252b28dd09b39a2fd2b7dd3af1fdad63"},{"fixed":"d6f5137f30de6e0ef7048191ee6ae575fdc2f669"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.18.6"}]}}],"versions":["1.10.1","1.9.4","v0.1.0","v0.1.1","v0.2.10","v0.2.11","v0.2.2","v0.2.3","v0.2.4","v0.2.5","v0.2.6","v0.2.7","v0.2.8","v0.2.9","v1.0.0","v1.0.1","v1.1.1","v1.1.3","v1.1.4","v1.1.5","v1.10.0","v1.11.0","v1.11.1","v1.11.2","v1.12.0","v1.13.0","v1.13.1","v1.13.3","v1.13.4","v1.13.5","v1.13.6","v1.14.0","v1.14.1","v1.16.0","v1.16.1","v1.17.0","v1.17.1","v1.18.0","v1.18.1","v1.18.2","v1.18.3","v1.18.4","v1.18.5","v1.2.0","v1.2.1","v1.2.2","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.4","v1.4.1","v1.5.1","v1.6.0","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.7.4","v1.7.5","v1.8.0","v1.8.2","v1.8.3","v1.8.4","v1.9.0","v1.9.1","v1.9.2","v1.9.3","v1.9.4","v1.9.5","v1.9.6","v1.9.7","v1.9.8","v1.9.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7741.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H"}]}