CVE-2022-31739: mozilla firefox External Control of File Name or Path
Vulnerability summary
CVE-2022-31739 is a high (CVSS 8.8) External Control of File Name or Path vulnerability in mozilla firefox. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 51.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 22-12-2022PublishedVulnerability first disclosed.
- 16-04-2025Last modifiedVulnerability information updated.
Description
When downloading files on Windows, the % character was not escaped, which could have lead to a download incorrectly being saved to attacker-influenced paths that used variables such as %HOMEPATH% or %APPDATA%.<br>*This bug only affects Firefox for Windows. Other operating systems are unaffected.*. This vulnerability affects Thunderbird < 91.10, Firefox < 101, and Firefox ESR < 91.10.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.68%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
+0.02 pp
From 0.66% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu5 products
- mozjs38All versions (No fix recorded)
- mozjs52All versions (No fix recorded)
- mozjs68All versions (No fix recorded)
- mozjs78All versions (No fix recorded)
- mozjs91All versions (No fix recorded)
Mozilla3 products
- firefox≥ unspecified, < 101 | < 101
- firefox_esr≥ unspecified, < 91.10 | < 91.10
- thunderbird≥ unspecified, < 91.10 | < 91.10
2 vendors · 8 products
References
9 links- www.mozilla.org/security/advisories/mfsa2022-20/Vendor Advisory
- www.mozilla.org/security/advisories/mfsa2022-22/Vendor Advisory
- www.mozilla.org/security/advisories/mfsa2022-21/Vendor Advisory