CVE-2025-4084
Medium · 5.7CVSS
5.7
EPSS
0.4%
Published
Apr 29, 2025
CISA due date
—
Cloudanix analysis
A bug in Firefox on Windows lets attackers run their own programs on a computer if a user is tricked into copying and running a special command shown by the browser.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Insufficient escaping of special characters in the copy-as-cURL feature allows a crafted request to produce a command line that executes arbitrary code when pasted and run on Windows.
Why it matters to the business
Attackers who trick Windows users into copying and executing a malicious cURL command can run code on those users' systems, potentially leading to data theft or further compromise; the issue is limited to Firefox on Windows and does not affect other platforms.
How an attack unfolds
An attacker crafts a network request containing special characters that are not properly escaped by the copy-as-cURL feature. The attacker then tricks a user (for example via a malicious link or page) into using the copy-as-cURL action on that request and pasting the resulting command into a Windows terminal, causing local code execution.
How to fix it
Upgrade Firefox to ESR 128.10 or ESR 115.23 and Thunderbird to 128.10 on all Windows systems. Until patches are applied, avoid using the copy-as-cURL feature on untrusted requests.
How to confirm the fix worked
Verify installed versions match or exceed the fixed releases listed above; re-test the copy-as-cURL feature with specially crafted requests containing shell metacharacters to confirm escaping now occurs.
Typical attack path
- Craft a request containing unescaped special characters designed to break out of the cURL command
- Lure the target user into inspecting the request in Firefox developer tools on Windows
- Convince the user to select copy-as-cURL and paste/run the resulting command
- Achieve local code execution on the user's system
How to detect it
Review Windows command-line and PowerShell logs for unexpected cURL invocations containing unusual quoting or chained commands; correlate with Firefox developer-tools usage where possible.
What your security team should do
- Immediately deploy the listed ESR and Thunderbird updates to all Windows endpoints
- Communicate the risk to Windows Firefox users and advise against pasting untrusted copy-as-cURL output
- Monitor for future updates as the vulnerability is Windows-specific
The record
Due to insufficient escaping of the special characters in the "copy as cURL" feature, an attacker could trick a user into using this command, potentially leading to local code execution on the user's system. *This bug only affects Firefox for Windows. Other versions of Firefox are unaffected.*. This vulnerability was fixed in Firefox ESR 128.10, Firefox ESR 115.23, and Thunderbird 128.10.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SUSE:Enterprise Storage 7.1 | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | MozillaThunderbird | 0 | 128.10.0-150200.8.212.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | MozillaThunderbird | 0 | 128.10.0-150200.8.212.1 |
| Ubuntu:20.04:LTS | firefox | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:20.04:LTS | thunderbird | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:22.04:LTS | thunderbird | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs115 | 0 | No fix |
| Ubuntu:24.10 | mozjs115 | 0 | No fix |
| Ubuntu:25.04 | mozjs115 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| openSUSE:Leap 15.6 | MozillaFirefox | 0 | 128.10.0-150200.152.179.1 |
| openSUSE:Leap 15.6 | MozillaThunderbird | 0 | 128.10.0-150200.8.212.1 |
| openSUSE:Tumbleweed | MozillaThunderbird | 0 | 128.10.0-1.1 |
Related vulnerabilities
- CVE-2025-14331 Same-origin policy bypass in the Request Handling component. Also affects MozillaFirefox
- CVE-2025-14325 JIT miscompilation in the JavaScript Engine: JIT component. Also affects MozillaFirefox
- CVE-2025-14330 JIT miscompilation in the JavaScript Engine: JIT component. Also affects MozillaFirefox
- CVE-2025-14333 Memory safety bugs present in Firefox ESR 140.5, Thunderbird ESR 140.5, Firefox 145 and… Also affects MozillaFirefox
- CVE-2025-14328 Privilege escalation in the Netmonitor component. Also affects MozillaFirefox
- CVE-2025-14329 Privilege escalation in the Netmonitor component. Also affects MozillaFirefox
- CVE-2025-14323 Privilege escalation in the DOM: Notifications component. Also affects MozillaFirefox
- CVE-2025-14321 Use-after-free in the WebRTC: Signaling component. Also affects MozillaFirefox