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

Medium 6.1 Published Updated

Remote attackers can execute arbitrary scripts in sandboxed iframes via crafted MARQUEE elements, bypassing security restrictions in Firefox.

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-2016-5262?

CVE-2016-5262 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 5 Aug 2016. 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

Mozilla Firefox before 48.0 and Firefox ESR 45.x before 45.3 process JavaScript event-handler attributes of a MARQUEE element within a sandboxed IFRAME element that lacks the sandbox="allow-scripts" attribute value, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted web site.

Weakness: CWE-79

Which versions are affected by CVE-2016-5262?

It affects 2 products.

Products include Mozilla Firefox, Oracle Linux.

How do I fix CVE-2016-5262?

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-5262 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5262, GHSA-3qpq-w8fc-xx86, UBUNTU-CVE-2016-5262.

Is CVE-2016-5262 in your software?

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

Check your SBOMs for free