The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-5265

CVE-2025-5265: Mozilla Firefox RCE Vulnerability

CVE-2025-5265 is a remote code execution vulnerability in Mozilla Firefox affecting the Copy as cURL feature on Windows. This security flaw allows attackers to execute code through insufficient ampersand escaping.

Updated: January 22, 2026

CVE-2025-5265 Overview

CVE-2025-5265 is a command injection vulnerability affecting Mozilla Firefox for Windows. Due to insufficient escaping of the ampersand character in the "Copy as cURL" feature, an attacker could trick a user into using a maliciously crafted command, potentially leading to local code execution on the user's system.

This vulnerability is classified as CWE-77 (Command Injection), where improper neutralization of special characters allows attackers to inject arbitrary commands into a command string. The "Copy as cURL" developer tool feature is commonly used by web developers to replicate HTTP requests from the browser's network panel, making this an attractive target for social engineering attacks against technical users.

Critical Impact

Attackers can achieve local code execution on Windows systems by convincing users to copy and execute a malicious cURL command generated by the browser's developer tools.

Affected Products

  • Mozilla Firefox < 139
  • Mozilla Firefox ESR < 115.24
  • Mozilla Firefox ESR < 128.11
  • Thunderbird < 139
  • Thunderbird < 128.11

Note: This vulnerability only affects Firefox for Windows. Other operating system versions of Firefox are unaffected.

Discovery Timeline

  • May 27, 2025 - CVE-2025-5265 published to NVD
  • June 11, 2025 - Last updated in NVD database

Technical Details for CVE-2025-5265

Vulnerability Analysis

The vulnerability exists in Firefox's "Copy as cURL" functionality, a developer tool feature that generates cURL commands from network requests captured in the browser's Network panel. When a user right-clicks on a network request and selects "Copy as cURL," Firefox generates a command-line string that can be pasted into a terminal to replicate the request.

The root cause is the insufficient escaping of the ampersand (&) character in the generated cURL command. On Windows command shells (cmd.exe and PowerShell), the ampersand serves as a command separator, allowing multiple commands to be executed in sequence. When this character appears in URL parameters or request data and is not properly escaped, an attacker can craft a malicious request that, when converted to a cURL command and executed, runs additional arbitrary commands.

Root Cause

The vulnerability stems from improper input validation and output encoding in the cURL command generation code. Firefox's implementation failed to account for Windows-specific shell metacharacters when escaping the generated command string. While certain special characters were properly escaped for Unix-like shells, the Windows-specific handling of the ampersand character was insufficient.

This is a classic case of CWE-77 (Command Injection), where user-controlled input that flows into a command execution context is not properly sanitized.

Attack Vector

The attack requires social engineering to succeed. An attacker would need to:

  1. Create a web page with network requests containing malicious ampersand-injected payloads in URL parameters or request bodies
  2. Convince a target user to visit the malicious page and open the browser's developer tools
  3. Trick the user into using the "Copy as cURL" feature on the malicious request
  4. Have the user paste and execute the generated command in a Windows terminal

When the user pastes the seemingly legitimate cURL command into their terminal, the unescaped ampersand causes the shell to interpret portions of the string as separate commands, leading to arbitrary code execution with the user's privileges.

The attack leverages the trust users place in browser-generated commands and targets developers and technical users who frequently use the "Copy as cURL" feature for debugging and API testing purposes.

Detection Methods for CVE-2025-5265

Indicators of Compromise

  • Suspicious cURL commands in shell history containing unexpected ampersand characters followed by additional commands
  • Unexpected process execution originating from cmd.exe or PowerShell following cURL command usage
  • Network requests to suspicious domains containing encoded or obfuscated command sequences in URL parameters
  • Unusual child processes spawned from terminal applications after pasting browser-generated commands

Detection Strategies

  • Monitor for process chains where cmd.exe or PowerShell spawns unexpected child processes after cURL execution
  • Implement endpoint detection rules for command strings containing patterns like curl followed by & and system command keywords (powershell, cmd, whoami, etc.)
  • Review browser history and network logs for requests with suspicious URL parameter patterns
  • Deploy SentinelOne's behavioral AI to detect anomalous command execution patterns from terminal applications

Monitoring Recommendations

  • Enable command-line logging on Windows endpoints to capture full command strings executed in terminals
  • Configure SentinelOne policies to alert on suspicious command injection patterns in shell processes
  • Implement network monitoring for web pages serving requests with unusual parameter encoding
  • Establish baselines for normal developer tool usage to identify anomalous activity

How to Mitigate CVE-2025-5265

Immediate Actions Required

  • Update Mozilla Firefox to version 139 or later immediately
  • Update Mozilla Firefox ESR to version 115.24 or 128.11 or later
  • Update Thunderbird to version 139 or 128.11 or later
  • Educate development teams about the risks of executing copied commands without verification
  • Review and audit any recently executed cURL commands on Windows systems

Patch Information

Mozilla has released patches addressing this vulnerability across multiple product versions. Security updates are available through the following advisories:

  • Mozilla Security Advisory MFSA-2025-42
  • Mozilla Security Advisory MFSA-2025-43
  • Mozilla Security Advisory MFSA-2025-44
  • Mozilla Security Advisory MFSA-2025-45
  • Mozilla Security Advisory MFSA-2025-46

For technical details about the underlying issue, see Mozilla Bug Report #1962301.

Workarounds

  • Avoid using the "Copy as cURL" feature on untrusted websites until patches are applied
  • Manually inspect all copied cURL commands before execution, looking for unexpected ampersand characters and additional commands
  • Use alternative tools to capture and replay HTTP requests instead of the browser's built-in feature
  • Consider using Linux/macOS systems for cURL command generation as they are not affected by this specific vulnerability
  • Implement application allowlisting to prevent execution of unexpected commands from terminal sessions
bash
# Verify Firefox version on Windows
# Open Firefox and navigate to about:support
# Or check via command line:
"C:\Program Files\Mozilla Firefox\firefox.exe" --version | findstr /r "[0-9]*\.[0-9]*"

# Ensure version is 139 or higher (standard release)
# Or 115.24+ / 128.11+ for ESR versions

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMozilla Firefox

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-77
  • Technical References
  • Mozilla Bug Report #1962301

  • Mozilla Security Advisory MFSA-2025-45

  • Mozilla Security Advisory MFSA-2025-46
  • Vendor Resources
  • Mozilla Security Advisory MFSA-2025-42

  • Mozilla Security Advisory MFSA-2025-43

  • Mozilla Security Advisory MFSA-2025-44
  • Related CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability

  • CVE-2025-6436: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English