---
id: CVE-2025-5265
title: >-
  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 Firef…
summary: >-
  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 Firef…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L'
cwe:
  - CWE-77
vendor: mozilla
product: firefox
affected:
  - firefox < 115.24.0
  - firefox < 139.0
  - 'firefox >= 116.0, < 128.11.0'
patched:
  - firefox 128.11.0
published: '2025-05-27'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T18:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-5265'
references:
  - url: 'https://bugzilla.mozilla.org/show_bug.cgi?id=1962301'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-42/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-43/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-44/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-45/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-46/'
    label: security@mozilla.org
tags:
  - nvd
epss: 0.00211
epssPercentile: 0.10261
ingestedAt: '2026-09-30T18:17:24.439Z'
---

## Overview

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

- `firefox < 115.24.0`
- `firefox < 139.0`
- `firefox >= 116.0, < 128.11.0`

## Remediation

Upgrade past the affected range:

- `firefox 128.11.0`
