{"id":"CVE-2020-6804","state":"PUBLISHED","title":"XSS in Mozilla WebThings Gateway","description":"A reflected XSS vulnerability exists within the gateway, allowing an attacker to craft a specialized URL which could steal the user's authentication token. When combined with CVE-2020-6803, an attacker could fully compromise the system.","publishedAt":"2020-02-28T22:38:38.000Z","updatedAt":"2024-08-04T09:11:05.124Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"mozilla"},"assigner":"mozilla","products":["Mozilla WebThings Gateway"],"affected":[{"vendor":"Mozilla","product":"WebThings Gateway","versions":[{"version":"0.3.0","status":"affected","lessThan":"0.3.0*","versionType":"custom"},{"version":"0.12.0","status":"affected","lessThan":"0.12.0","versionType":"custom"}]}],"references":["https://github.com/mozilla-iot/gateway/pull/2446"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:47:38.312Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/6xxx/CVE-2020-6804.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-6804","state":"PUBLISHED","datePublished":"2020-02-28T22:38:38.000Z","dateUpdated":"2024-08-04T09:11:05.124Z","assignerShortName":"mozilla","assignerOrgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe","dateReserved":"2020-01-10T00:00:00.000Z"},"containers":{"cna":{"title":"XSS in Mozilla WebThings Gateway","descriptions":[{"lang":"en","value":"A reflected XSS vulnerability exists within the gateway, allowing an attacker to craft a specialized URL which could steal the user's authentication token. When combined with CVE-2020-6803, an attacker could fully compromise the system."}],"affected":[{"vendor":"Mozilla","product":"WebThings Gateway","versions":[{"version":"0.3.0","status":"affected","lessThan":"0.3.0*","versionType":"custom"},{"version":"0.12.0","status":"affected","lessThan":"0.12.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/mozilla-iot/gateway/pull/2446","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mozilla","dateUpdated":"2020-02-28T22:38:38.000Z","orgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe"},"credits":[{"lang":"en","value":"Panagiotis"}],"solutions":[{"lang":"en","value":"https://github.com/mozilla-iot/gateway/pull/2446"}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","value":"* Never share your gateway address publicly.\n* Never click on links which take you to your gateway, especially to the login page."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@mozilla.org","ID":"CVE-2020-6804","STATE":"PUBLIC","TITLE":"XSS in Mozilla WebThings Gateway"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"WebThings Gateway","version":{"version_data":[{"version_affected":">=","version_name":"0.3.0","version_value":"0.3.0"},{"version_affected":"<","version_name":"0.12.0","version_value":"0.12.0"}]}}]},"vendor_name":"Mozilla"}]}},"credit":[{"lang":"eng","value":"Panagiotis"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A reflected XSS vulnerability exists within the gateway, allowing an attacker to craft a specialized URL which could steal the user's authentication token. When combined with CVE-2020-6803, an attacker could fully compromise the system."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://github.com/mozilla-iot/gateway/pull/2446","refsource":"MISC","url":"https://github.com/mozilla-iot/gateway/pull/2446"}]},"solution":[{"lang":"en","value":"https://github.com/mozilla-iot/gateway/pull/2446"}],"source":{"discovery":"EXTERNAL"},"work_around":[{"lang":"en","value":"* Never share your gateway address publicly.\n* Never click on links which take you to your gateway, especially to the login page."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/mozilla-iot/gateway/pull/2446","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:11:05.124Z"}}]}}}