Skip to content
CVE PROGRAM SOURCE RECORD4.8 Medium

CVE-2026-100867

spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

spaceship-prompt spaceship-prompt

Default version status: unaffected

  • 0 to ≤ 4.22.5affected
pkg:npm/spaceship-prompt

References