Local code execution via unescaped ampersand
Published May 27, 2025 · Updated Apr 13, 2026
Command injection in Mozilla Firefox before 139 allows attackers to execute local code when a user runs copied cURL text on Windows. DevTools Netmonitor's Copy as cURL feature leaves attacker-controlled ampersands in request-header data unescaped, causing cmd.exe to interpret them as command separators. Exploitation requires the user to copy a crafted request and run the generated command; injected commands execute with that user's privileges.
Summary
What happened
Command injection in Mozilla Firefox before 139 allows attackers to execute local code when a user runs copied cURL text on Windows. DevTools Netmonitor's Copy as cURL feature leaves attacker-controlled ampersands in request-header data unescaped, causing cmd.exe to interpret them as command separators. Exploitation requires the user to copy a crafted request and run the generated command; injected commands execute with that user's privileges.
The record
- CVE
- CVE-2025-5265
- Published
- May 27, 2025
- Updated
- Apr 13, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-77, T1204.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- May 27, 2025CVE publishedPublication date reported by the CVE source.
- Apr 13, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Copy as cURL header-injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo