CVE-2025-5265: Potential local code execution in “Copy as cURL” command

Published May 27, 2025
·
Updated

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

10 affected componentsFixes available
Mozilla Firefox<139
Mozilla Firefox ESR<115.24, <128.11
Mozilla Thunderbird<139
139
Mozilla Thunderbird<128.11
128.11
Mozilla Firefox ESR<115.24
115.24
Mozilla Firefox<139
139
Mozilla Firefox ESR<128.11
128.11
Mozilla Firefox<115.24.0
Mozilla Firefox<139.0
Mozilla Firefox>=116.0<128.11.0

Event History

May 27, 2025
CVE Published
via Mozilla·12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Updated
via Mozilla·12:00 AM
Affected Software
CVE Published
via MITRE·12:29 PM
Data Sourced
via MITRE·12:29 PM
Description
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Is CVE-2025-5265 a cross-platform vulnerability?

No, CVE-2025-5265 specifically affects Firefox for Windows; other operating systems are not impacted.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203