CVE-2013-1697: Mozilla Firefox

High severity, CVSS 9.3. EPSS: 3.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Mozilla Firefox: up to and including 21.0; version 19.0 only; version 19.0.1 only; version 19.0.2 only; version 20.0 only; version 20.0.1 only; …
  • Mozilla Thunderbird: up to and including 17.0.6; version 17.0 only; version 17.0.1 only; version 17.0.2 only; version 17.0.3 only; version 17.0.4 only; …
  • Mozilla Thunderbird ESR: version 17.0 only; version 17.0.1 only; version 17.0.2 only; version 17.0.3 only; version 17.0.4 only; version 17.0.5 only; …

Published 2013-06-26. Last modified 2026-06-16.