CVE-2017-7799 Cross-site scripting in Firefox
Improper sanitization in Firefox's about:webrtc page allows potential cross-site scripting attacks via WebRTC data.
- 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-2017-7799?
CVE-2017-7799 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 11 Jun 2018. 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
JavaScript in the "about:webrtc" page is not sanitized properly being assigned to "innerHTML". Data on this page is supplied by WebRTC usage and is not under third-party control, making this difficult to exploit, but the vulnerability could possibly be used for a cross-site scripting (XSS) attack. This vulnerability affects Firefox < 55.
Weakness: CWE-79
Which versions are affected by CVE-2017-7799?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2017-7799?
Upgrade to a fixed version.
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-2017-7799 being exploited?
There is no known exploitation of CVE-2017-7799 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-9vjw-3439-q93q, UBUNTU-CVE-2017-7799.