---
id: CVE-2025-4089
title: >-
  Due to insufficient escaping of 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
summary: >-
  Due to insufficient escaping of 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 vulnerability was
  fixed in F…
severity: medium
cvss: 5.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-77
vendor: mozilla
product: firefox
affected:
  - firefox < 138.0
  - thunderbird < 138.0
patched:
  - firefox 138.0
  - thunderbird 138.0
published: '2025-04-29'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T18:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-4089'
references:
  - url: >-
      https://bugzilla.mozilla.org/buglist.cgi?bug_id=1949994%2C1956698%2C1960198
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-28/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2025-31/'
    label: security@mozilla.org
tags:
  - nvd
epss: 0.00186
epssPercentile: 0.07352
ingestedAt: '2026-09-30T18:17:24.435Z'
---

## Overview

Due to insufficient escaping of 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 vulnerability was fixed in Firefox 138 and Thunderbird 138.

## Affected

- `firefox < 138.0`
- `thunderbird < 138.0`

## Remediation

Upgrade past the affected range:

- `firefox 138.0`
- `thunderbird 138.0`
