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.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Sep 27, 2026
- Last modified
- Sep 30, 2026
- NVD status
- Deferred