CVE-2020-6804 XSS in Mozilla WebThings Gateway

High 8.8 Published Updated

Reflected XSS in Mozilla WebThings Gateway allows attackers to steal authentication tokens via crafted URLs, potentially leading to full system compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-6804?

CVE-2020-6804 is a high-severity cross-site scripting vulnerability in Mozilla WebThings Gateway, published on 28 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2020-6804?

It affects 1 product.

Products include Mozilla Webthings Gateway.

How do I fix CVE-2020-6804?

No fix has been published for CVE-2020-6804 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2020-6804 being exploited?

There is no known exploitation of CVE-2020-6804 in the wild and no public exploit code.

Sources

Also known as GHSA-wq9f-h6v9-87rm.

Is CVE-2020-6804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free