# CVE-2022-31739: Mozilla Thunderbird and 4 others: External Control of File Name or Path

CVE-2022-31739 is fixed in 3 products on 1 platform, first by Mozilla Firefox (en-US) 101.0, released May 31, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-31739
- Priority: High
- CVSS: 8.8
- EPSS: 0.0071
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 22, 2022
- Weakness: CWE-73: External Control of File Name or Path
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-31739

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Mozilla Firefox (en-US) | 101.0 | [Mozilla Firefox (en-US) 101.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox-101.0.md) | May 31, 2022 |
| Windows apps | Mozilla Firefox ESR (en-US) | 102.0 | [Mozilla Firefox ESR (en-US) 102.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox.esr-102.0.md) | Jun 23, 2022 |
| Windows apps | Mozilla Thunderbird (en-US) | 102.0 | [Mozilla Thunderbird (en-US) 102.0](https://patchblox.com/security/data/fix/windows-app/mozilla.thunderbird-102.0.md) | Jun 29, 2022 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
