vitejs launch-editor · vitejs vite · vitejs vite-plus
| Product | Affected | Fixed in |
|---|---|---|
| launch-editor npm |
|
|
| vite npm |
|
|
| vite-plus npm |
|
|
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor did not escape % on Windows when passing an argument to cmd. When an environment variable contained a malicious value, it was possible that that content to be executed. This vulnerability is fixed in 2.14.2.
From the CVE record · GitHub_M
Before 2.14.2, launch-editor does not escape percent signs when passing an argument to cmd on Windows. A malicious value in an environment variable can then be executed. The input does not specify whether authentication or user interaction is required.
Engineers running npm launch-editor versions before 2.14.2, vite versions before 6.4.4 or in the listed affected 7.x and 8.x ranges, or vite-plus versions before 1.1.0 should check their installations.