CVE-2016-5265 Cross-site scripting in n/a

Medium 5.5 Published Updated

Attackers can bypass Same Origin Policy to execute Universal XSS or read arbitrary files via crafted local files in Firefox.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-5265?

CVE-2016-5265 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 5 Aug 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Mozilla Firefox before 48.0 and Firefox ESR 45.x before 45.3 allow user-assisted remote attackers to bypass the Same Origin Policy, and conduct Universal XSS (UXSS) attacks or read arbitrary files, by arranging for the presence of a crafted HTML document and a crafted shortcut file in the same local directory.

Weakness: CWE-79, CWE-200

Which versions are affected by CVE-2016-5265?

It affects 2 products.

Products include Mozilla Firefox, Oracle Linux.

How do I fix CVE-2016-5265?

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-2016-5265 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5265, GHSA-vf6c-g2gw-jg5r, UBUNTU-CVE-2016-5265.

Is CVE-2016-5265 in your software?

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

Check your SBOMs for free