All vulnerabilities

CVE-2020-15095

npm CLI exposing sensitive information through logs

Description

Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>. The password value is not redacted and is printed to stdout and also to any generated log files.

Patch Available

Fix available through Seal Security. 

No upgrade required, protect your application instantly.

Fix without upgrading
Score
4.4
Severity
Medium
Ecosystem
JavaScript
Publish Date
July 7, 2020
Modified Date
March 13, 2026
Score Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Affected Versions