Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| JanDeDobbeleer | oh-my-posh | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jandedobbeleer | Oh-my-posh |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-fwjx-9p69-h25h | Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.179% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-791 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jandedobbeleer
Jandedobbeleer oh-my-posh |
|
| Vendors & Products |
Jandedobbeleer
Jandedobbeleer oh-my-posh |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Oh My Posh is the most customisable and low-latency cross platform/shell prompt renderer. Prior to 29.35.1, write(s rune) in src/terminal/writer.go emitted attacker-controlled current directory names and Git metadata, including Commit.Subject, Commit.Author.Name, Commit.Author.Email, and RawUpstreamURL, without removing C0/C1 terminal control characters such as ESC, BEL, CSI, and OSC, allowing terminal escape sequence injection during prompt rendering that could overwrite the clipboard, spoof the prompt or screen, manipulate the window title, or disrupt the terminal. This issue is fixed in version 29.35.1. | |
| Title | Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data | |
| Weaknesses | CWE-150 | |
| References |
| |
| Metrics |
cvssV3_1
|