CVE-2013-1697 Code injection in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary JavaScript with chrome privileges via a crafted website exploiting improper restriction of DefaultValue 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-2013-1697?

CVE-2013-1697 is a critical code injection vulnerability in Mozilla Firefox, published on 26 Jun 2013. 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

The XrayWrapper implementation in Mozilla Firefox before 22.0, Firefox ESR 17.x before 17.0.7, Thunderbird before 17.0.7, and Thunderbird ESR 17.x before 17.0.7 does not properly restrict use of DefaultValue for method calls, which allows remote attackers to execute arbitrary JavaScript code with chrome privileges via a crafted web site that triggers use of a user-defined (1) toString or (2) valueOf method.

Weakness: CWE-264

Which versions are affected by CVE-2013-1697?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Thunderbird, Mozilla Thunderbird Esr.

How do I fix CVE-2013-1697?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2013-1697 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-cv9x-mgf7-jrm6.

Is CVE-2013-1697 in your software?

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

Check your SBOMs for free