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.
problem types: CWE-79 Cross-site Scripting (XSS)
affected:
{
product: WebThings Gateway
vendor: Mozilla
versions:
lessThan: 0.3.0*, status: affected, version: 0.3.0, versionType: custom
lessThan: 0.12.0, status: affected, version: 0.12.0, versionType: custom
}
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
]
solutions: https://github.com/mozilla-iot/gateway/pull/2446
workarounds: * Never share your gateway address publicly.
* Never click on links which take you to your gateway, especially to the login page.