spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
spaceship-prompt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| spaceship-prompt spaceship-prompt |
| No fix yet |
Original description
spaceship-prompt through 4.22.5 fails to sanitize control characters from project manifest version fields before rendering them in the zsh prompt. Attackers can embed ANSI/OSC escape sequences in version fields of package manifests to manipulate terminal output, rewrite window titles, or spoof displayed text when victims enter the directory.
From the CVE record · VulnCheck