All reports
Medium

Jenkins NodeJS Plugin improper credential masking vulnerability

Affected versions

Affected versions
< 1.6.1
Fixed version
1.6.1

Exploitation

CVE-2023-40340

Probability of exploitation in the next 30 days: 0.63%

FIRST EPSS · 2026-11-23

Description

Jenkins NodeJS Plugin integrates with Config File Provider Plugin to specify custom NPM settings, including credentials for authentication, in a Npm config file.

NodeJS Plugin 1.6.0 and earlier does not properly mask (i.e., replace with asterisks) credentials specified in the Npm config file in Pipeline build logs.

NodeJS Plugin 1.6.1 masks credentials specified in the Npm config file in Pipeline build logs.

Links