{"id":"CVE-2026-14620","aliases":["CVE-2026-14620","GHSA-f5vj-f2hx-8m93"],"related":[],"kind":"vulnerability","state":"published","title":"webpack-dev-server vulnerable to cross-site request forgery via internal developer endpoints","summary":"webpack-dev-server versions 5.2.5 and earlier expose two internal developer endpoints, /webpack-dev-server/open-editor and /webpack-dev-server/invalidate, that perform state-changing actions on any GET request without verifying that the request originated from the dev server's own page. Any website a developer visits while the dev server is running can trigger these endpoints cross-origin with no interaction beyond the visit. An attacker can open an arbitrary existing local file in the developer's editor, including files outside the project root, and repeated requests can spawn editor processes and force recompilations that degrade the developer's machine. Patches: upgrade to webpack-dev-server 5.2.6. Workarounds: none.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"webpack-dev-server versions 5.2.5 and earlier expose two internal developer endpoints, /webpack-dev-server/open-editor and /webpack-dev-server/invalidate, that perform state-changing actions on any GET request without verifying that the request originated from the dev server's own page. Any website a developer visits while the dev server is running can trigger these endpoints cross-origin with no interaction beyond the visit. An attacker can open an arbitrary existing local file in the developer's editor, including files outside the project root, and repeated requests can spawn editor processes and force recompilations that degrade the developer's machine. Patches: upgrade to webpack-dev-server 5.2.6. Workarounds: none.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe internal `/webpack-dev-server/open-editor` and `/webpack-dev-server/invalidate` endpoints perform state-changing actions on any `GET` request, without verifying that the request originated from the dev server's own page. Any website a developer visits while the dev server is running can trigger them cross-origin with no interaction beyond the visit.\n\nAn attacker can open an arbitrary existing local file in the developer's editor, including files outside the project root (e.g. `~/.ssh/config`). The file's contents are not returned to the attacker. Repeated requests can also spawn editor processes and force recompilations, degrading the developer's machine.\n\n### Patches\n\nFixed in `webpack-dev-server` 5.2.6 by rejecting cross-site requests to the `/webpack-dev-server/open-editor` and `/webpack-dev-server/invalidate` endpoints (see [PR #5698](https://github.com/webpack/webpack-dev-server/pull/5698)).\n\n### Workarounds\n\nNone","format":"markdown","source":"ghsa"}],"published":"2026-07-03T17:00:00.679Z","modified":"2026-09-10T03:50:51.837Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-352","CWE-749"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.2.6","status":"affected"},{"type":"semver","version":"5.2.6","status":"unaffected"}],"vendor":"webpack-dev-server","product":"webpack-dev-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.2.6"}],"ecosystem":"npm","package":"webpack-dev-server","purl":"pkg:npm/webpack-dev-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.2.6"}],"vendor":"webpack.js","product":"webpack-dev-server","cpe":"cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-f5vj-f2hx-8m93","tags":["patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14620","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/webpack/webpack-dev-server/pull/5698","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack/webpack-dev-server/commit/80cd9eea54975fe632a518d8bd902a260f374e7c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack/webpack-dev-server","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/webpack/webpack-dev-server/releases/tag/v5.2.6","tags":["web"],"sources":["ghsa"]}],"credits":["Pig-Tail","bjohansebas","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-06T15:54:37.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-14620","url":"https://www.cve.org/CVERecord?id=CVE-2026-14620","licence":"CVE Terms of Use","modified":"2026-07-06T15:54:51.519Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f5vj-f2hx-8m93","url":"https://github.com/advisories/GHSA-f5vj-f2hx-8m93","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:51.837Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-14620","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14620","licence":"Public domain","modified":"2026-07-07T15:12:43.947Z"}],"updatedAt":"2026-11-25T22:59:27.100Z","epss":{"score":0.00747,"percentile":0.56079,"date":"2026-12-01T12:00:22.000Z"}}