Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-73035

npm-check-updates 23.0.2 Terminal Injection via Unsanitized Escape Sequences

Description

npm-check-updates through 23.0.2, fixed in commit b554b84, contains a terminal escape sequence injection vulnerability that allows an attacker to embed arbitrary terminal control characters in a dependency's package.json homepage or repository URL fields. When a developer runs ncu with the --format homepage or --format repo option, unfiltered escape sequences are written directly to the terminal, enabling malicious output manipulation or other terminal-dependent effects.

Affected products

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

raineorshine npm-check-updates

Default version status: affected

  • 0 to ≤ 23.0.2affected
  • b554b84848fc0b08a9d2b3d3db15e351387168cfunaffected
pkg:github/raineorshine/npm-check-updates

References