PT-2026-39959

CVE-2026-6402

·

Published

2026-05-12

·

Updated

2026-10-30

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions webpack-dev-server versions prior to 5.2.4
Description Cross-origin source code exposure occurs when serving over a non-potentially trustworthy origin, such as plain HTTP. The issue arises because the previous fix relied on Sec-Fetch-Mode and Sec-Fetch-Site request headers, which browsers omit for non-trustworthy origins. This allows a malicious site to load the bundled source as a script and read it across origins. An attacker controlling a website visited by a developer can recover the application source code if the 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.
Recommendations Upgrade to version 5.2.4 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-79CF-XCQC-C78W
CLEANSTART-2026-BQ58888
CLEANSTART-2026-IF30069
CLEANSTART-2026-OV07836
OPENSUSE-SU-2026:10979-1
Found an issue in the description? Have something to add? Feel free to write us 👾