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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | VulnCheck |
Weaknesses
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Affected Products
| Product | Versions |
|---|---|
npm-check-updatesraineorshine |
|
References
- Researcher Disclosuretechnical-description
- Pull Requestissue-tracking
- Patch Commitpatch
- https://www.vulncheck.com/advisories/npm-check-updates-terminal-injection-via-unsanitized-escape-sequencesthird-party-advisory
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.