2020-01-21 23:01:49 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2020-10-06 15:25:09 +01:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2020-10-06T14:25:07.003619Z" ,
2020-01-21 23:01:49 +00:00
"ID" : "CVE-2020-7741" ,
2020-10-06 15:25:09 +01:00
"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" : [
{
2020-10-06 15:02:45 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546" ,
"name" : "https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546"
2020-10-06 15:25:09 +01:00
} ,
{
2020-10-06 15:02:45 +00:00
"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"
2020-10-06 15:25:09 +01:00
} ,
{
2020-10-06 15:02:45 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669" ,
"name" : "https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669"
2020-10-06 15:25:09 +01:00
}
]
2020-01-21 23:01:49 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2020-10-06 15:02:45 +00:00
"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)."
2020-01-21 23:01:49 +00:00
}
]
2020-10-06 15:25:09 +01:00
} ,
"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" ,
2020-10-07 18:01:44 +00:00
"value" : " Anonymous Reporter"
2020-10-06 15:25:09 +01:00
}
]
2020-01-21 23:01:49 +00:00
}