CVE-2025-5265: Potential local code execution in “Copy as cURL” command
Due to insufficient escaping of the ampersand character 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 139, Firefox ESR 115.24, Firefox ESR 128.11, Thunderbird 139, and Thunderbird 128.11.
Other sources
Due to insufficient escaping of the ampersand character 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.
— Mozilla
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2025-5265?
CVE-2025-5265 has a high severity rating due to the potential for local code execution on affected systems.
How do I fix CVE-2025-5265?
To fix CVE-2025-5265, users should update to the latest version of Firefox or Firefox ESR, specifically version 139 or 115.24.
Which versions of Firefox are affected by CVE-2025-5265?
CVE-2025-5265 affects Mozilla Firefox versions up to 139 and Firefox ESR versions up to 115.24 and 128.11.
Is CVE-2025-5265 a cross-platform vulnerability?
No, CVE-2025-5265 specifically affects Firefox for Windows; other operating systems are not impacted.
How can this vulnerability be exploited?
CVE-2025-5265 can be exploited if an attacker tricks a user into using a crafted 'Copy as cURL' command, leading to potential execution of malicious code.