{"id":"EUVD-2025-16767","enisaUuid":"fde525ce-f437-31a2-a112-b9964cc04186","description":"webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior to version 5.2.1, webpack-dev-server users\u0027 source code may be stolen when they access a malicious web site. Because the request for classic script by a script tag is not subject to same origin policy, an attacker can inject a malicious script in their site and run the script. Note that the attacker has to know the port and the output entrypoint script path. Combined with prototype pollution, the attacker can get a reference to the webpack runtime variables. By using `Function::toString` against the values in `__webpack_modules__`, the attacker can get the source code. Version 5.2.1 contains a patch for the issue.","datePublished":"Jun 3, 2025, 5:39:16 PM","dateUpdated":"Jun 3, 2025, 5:50:03 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","references":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-4v9v-hfq4-rm2v\nhttps://github.com/webpack/webpack-dev-server/commit/d2575ad8dfed9207ed810b5ea0ccf465115a2239\n","aliases":"CVE-2025-30359\nGHSA-4v9v-hfq4-rm2v\n","assigner":"GitHub_M","epss":0.6,"enisaIdProduct":[{"id":"e14741bc-192f-3634-8f15-efd9d689acec","product":{"name":"webpack-dev-server","vendor":{"name":"webpack-dev-server"}},"product_version":"\u003c 5.2.1"}],"enisaIdVendor":[{"id":"eb27d18a-d6f1-3a9c-af86-4e58cbf6d232","vendor":{"name":"webpack"}}],"enisaIdVulnerability":[{"id":"214a1d2b-e773-339b-9e48-fd49bd34d15e","vulnerability":{"id":"CVE-2025-30359","description":"webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior to version 5.2.1, webpack-dev-server users\u0027 source code may be stolen when they access a malicious web site. Because the request for classic script by a script tag is not subject to same origin policy, an attacker can inject a malicious script in their site and run the script. Note that the attacker has to know the port and the output entrypoint script path. Combined with prototype pollution, the attacker can get a reference to the webpack runtime variables. By using `Function::toString` against the values in `__webpack_modules__`, the attacker can get the source code. Version 5.2.1 contains a patch for the issue.","datePublished":"Jun 3, 2025, 5:39:16 PM","dateUpdated":"Jun 3, 2025, 5:50:03 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","references":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-4v9v-hfq4-rm2v\nhttps://github.com/webpack/webpack-dev-server/commit/d2575ad8dfed9207ed810b5ea0ccf465115a2239\n","enisa_id":"EUVD-2025-16767\n","assigner":"GitHub_M","epss":0.6,"dataProcessed":"Nov 15, 2026, 7:18:22 AM","vulnerabilityProduct":[{"id":"d17ce28e-6fa0-3ccb-9ddd-fd60df94117f","product":{"name":"webpack-dev-server","vendor":{"name":"webpack-dev-server"}},"product_version":"\u003c 5.2.1"}],"vulnerabilityVendor":[{"id":"cf0a1d21-17cf-31db-8395-a7376a86e68a","vendor":{"name":"webpack"}}]}},{"id":"d6f586de-aaad-3dca-b50b-5d6008be78a9","vulnerability":{"id":"GHSA-4v9v-hfq4-rm2v","description":"webpack-dev-server users\u0027 source code may be stolen when they access a malicious web site","datePublished":"Jun 4, 2025, 9:09:13 PM","dateUpdated":"Oct 3, 2025, 1:25:38 PM","baseScore":0.0,"references":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-4v9v-hfq4-rm2v\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-30359\nhttps://github.com/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188e\nhttps://github.com/webpack/webpack-dev-server/commit/d2575ad8dfed9207ed810b5ea0ccf465115a2239\nhttps://github.com/webpack/webpack-dev-server\n","enisa_id":"EUVD-2025-16767\n","aliases":"GHSA-4v9v-hfq4-rm2v\nCVE-2025-30359\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:43:26 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"459c9204-d375-3cfd-9376-c66f9a5001cc","advisory":{"id":"msrc_CVE-2025-30359","description":"webpack-dev-server users\u0027 source code may be stolen when they access a malicious web site","datePublished":"Sep 4, 2025, 4:45:07 AM","dateUpdated":"Aug 12, 2026, 11:40:41 PM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-30359.json\n","aliases":"CVE-2025-30359\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"21615e0f-3934-30a5-bba0-274e71094cf6","product":{"name":"2.0","vendor":{"name":"Smiths Medical"}}},{"id":"53411a09-cff3-35b7-aef8-84c178f2f2c7","product":{"name":"cbl2 reaper 3.1.1-18","vendor":{"name":"Microsoft"}}},{"id":"5aa8257a-a743-39e2-9417-b7fd88e5e4b9","product":{"name":"azl3 python-tensorboard 0:2.16.2-6.azl3","vendor":{"name":"Microsoft"}}},{"id":"63959952-647f-3d8a-baed-4b502866eae9","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"d022b44e-52e7-3791-a711-21171773e679","product":{"name":"3.0","vendor":{"name":"Wind River"}}},{"id":"f5a10ba9-65c9-31c6-a8b3-2d68dc42c121","product":{"name":"azl3 python-tensorboard 2.16.2-6","vendor":{"name":"Microsoft"}}}]}}]}