Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-73035 EUVD-2026-55804GHSA-xm8c-hvjf-c5q9

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

Published Aug 10, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
raineorshine npm-check-updates ≤ 23.0.2 —

References