{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ASSIGNER": "report@snyk.io", "DATE_PUBLIC": "2020-10-06T14:25:07.003619Z", "ID": "CVE-2020-7741", "STATE": "PUBLIC", "TITLE": "Cross-site Scripting (XSS)" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "hellojs", "version": { "version_data": [ { "version_affected": "<", "version_value": "1.18.6" } ] } } ] }, "vendor_name": "n/a" } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Cross-site Scripting (XSS)" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546", "name": "https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546" }, { "refsource": "MISC", "url": "https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545", "name": "https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545" }, { "refsource": "MISC", "url": "https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669", "name": "https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "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)." } ] }, "impact": { "cvss": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "HIGH" } }, "credit": [ { "lang": "eng", "value": " Anonymous Reporter" } ] }