CVE-2026-73035

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

State
Published
Severity
5.3 Medium
Published
Aug 10, 2026
Updated
Aug 11, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NVulnCheck

Weaknesses

  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences

Affected Products

ProductVersions
npm-check-updatesraineorshine
  • 23.0.2 and earlierAffected
  • b554b84848fc0b08a9d2b3d3db15e351387168cfNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.