SCA: security update for webpack-dev-server (GHSA-79cf-xcqc-c78w)

medium Tenable Cloud Security Plugin ID 442083

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure
when serving over a non-potentially trustworthy origin such as plain HTTP. The previous fix relied on the
Sec-Fetch-Mode and Sec-Fetch-Site request headers, which browsers omit for non-trustworthy origins,
allowing a malicious site to load the bundled source as a script and read it across origins. Impact: an
attacker controlling a website visited by a developer running webpack-dev-server can recover the
application source code when the dev server runs over HTTP at a guessable host and port. Chromium based
browsers from Chrome 142 onward are not affected due to local network access restrictions. Upgrade to
webpack-dev-server 5.2.4 or later, which sets Cross-Origin-Resource-Policy: same-origin on responses.
(CVE-2026-6402)

Solution

Update the webpack-dev-server library and its related packages to version 5.2.4 or later.

See Also

https://github.com/advisories/GHSA-79cf-xcqc-c78w

Plugin Details

Severity: Medium

ID: 442083

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/18/2026

Updated: 6/19/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.69

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-6402

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/18/2026

Vulnerability Publication Date: 5/12/2026

Reference Information

CVE: CVE-2026-6402

cwe: CWE-749