Vulnerability · Published May 27, 2025 · Assigned by mozilla
CVE-2025-5265Potential local code execution in “Copy as cURL” command
Medium 4.8
In plain English
A medium-severity command injection in Firefox from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2025-5265 |
| Ubuntu:24.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2025-5265 |
| Ubuntu:24.04:LTS | mozjs115 | no fix listed | UBUNTU-CVE-2025-5265 |
| Ubuntu:22.04:LTS | mozjs78 | no fix listed | UBUNTU-CVE-2025-5265 |
| Ubuntu:22.04:LTS | mozjs91 | no fix listed | UBUNTU-CVE-2025-5265 |
| Ubuntu:22.04:LTS | thunderbird | 1:128.12.0+build1-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-5265 |
| Ubuntu:22.04:LTS | thunderbird | 1:128.12.0+build1-0ubuntu0.22.04.1 | USN-7663-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | see references |
| Mozilla | Thunderbird | see references |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1962301
- https://www.mozilla.org/security/advisories/mfsa2025-42/
- https://www.mozilla.org/security/advisories/mfsa2025-43/
- https://www.mozilla.org/security/advisories/mfsa2025-44/
- https://www.mozilla.org/security/advisories/mfsa2025-45/
- https://www.mozilla.org/security/advisories/mfsa2025-46/