CVE-2020-6808 Other in Firefox

Medium 6.5 Published Updated

An attacker can spoof the document location in Firefox by exploiting how JavaScript URLs are parsed, potentially misleading users about the current page origin.

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
Available

What is CVE-2020-6808?

CVE-2020-6808 is a medium-severity vulnerability in Mozilla Firefox, published on 25 Mar 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

When a JavaScript URL (javascript:) is evaluated and the result is a string, this string is parsed to create an HTML document, which is then presented. Previously, this document's URL (as reported by the document.location property, for example) was the originating javascript: URL which could lead to spoofing attacks; it is now correctly the URL of the originating document. This vulnerability affects Firefox < 74.

Weakness: CWE-290

Which versions are affected by CVE-2020-6808?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2020-6808?

Upgrade to a fixed version.

Is CVE-2020-6808 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-5c26-qqvr-j75w, UBUNTU-CVE-2020-6808.

Is CVE-2020-6808 in your software?

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

Check your SBOMs for free