Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| notepad-plus-plus | notepad-plus-plus | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Notepad-plus-plus | Notepad++ |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.213% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Notepad-plus-plus
Notepad-plus-plus notepad++ |
|
| Vendors & Products |
Notepad-plus-plus
Notepad-plus-plus notepad++ |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Notepad++ is a free and open-source source code editor. Prior to 8.9.8, the Folder as Workspace Run by system action in Notepad++ can resolve a different sibling file than the file selected by the user. When an attacker places a command script whose name is the selected text-file path with .cmd appended, and the user invokes Run by system on the text file on Windows 10 or Windows 11, Notepad++ can execute the sibling script as the current user instead of opening the selected file. This issue is fixed in version 8.9.8. | |
| Title | Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution) | |
| Weaknesses | CWE-20 CWE-706 |
|
| References |
|
|
| Metrics |
cvssV3_1
|