NPM Debug Log File Detected

medium Web App Scanning Plugin ID 114780

Synopsis

NPM Debug Log File Detected

Description

An NPM debug log file have been detected on the target web application. These files may contain sensitive information which could assist an attack to conduct further attacks.

Solution

Restrict access to the log file or locate it outside the public webroot where possible.

See Also

https://docs.npmjs.com/cli/v11/using-npm/logging

https://docs.npmjs.com/generating-and-locating-npm-debug.log-files

Plugin Details

Severity: Medium

ID: 114780

Type: remote

Published: 4/29/2025

Updated: 4/29/2025

Scan Template: api, basic, full, pci, scan

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Vulnerability Information

Exploit Ease: Exploits are available

Reference Information