CVE-2020-12393
Mozilla: Devtools' 'Copy as cURL' feature did not fully escape website-controlled data, potentially leading to command injection
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 5, 2020
Updated · June 27, 2026
Description
The Mozilla Foundation Security Advisory describes this flaw as
The 'Copy as cURL' feature of Devtools' network tab did not properly escape the HTTP method of a request, which can be controlled by the website. If a user used the 'Copy as cURL' feature and pasted the command into a terminal, it could have resulted in command injection and arbitrary command execution.
Statement
This issue only affects Firefox on Windows operating systems. Firefox on Linux is not affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-552 · Files or Directories Accessible to External Parties