Title: Update @angular-devkit/build-angular v21/v20 dependency webpack-dev-server to 5.2.6 to mitigate GHSA-m28w-2pqf-7qgj and GHSA-f5vj-f2hx-8m93 · Issue #33903 · angular/angular-cli · GitHub
Open Graph Title: Update @angular-devkit/build-angular v21/v20 dependency webpack-dev-server to 5.2.6 to mitigate GHSA-m28w-2pqf-7qgj and GHSA-f5vj-f2hx-8m93 · Issue #33903 · angular/angular-cli
X Title: Update @angular-devkit/build-angular v21/v20 dependency webpack-dev-server to 5.2.6 to mitigate GHSA-m28w-2pqf-7qgj and GHSA-f5vj-f2hx-8m93 · Issue #33903 · angular/angular-cli
Description: Command serve, other Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description Excerpt from the @angular-devkit/build-angular@21 depen...
Open Graph Description: Command serve, other Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description Excerpt from th...
X Description: Command serve, other Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description Excerpt from th...
Opengraph URL: https://github.com/angular/angular-cli/issues/33903
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update @angular-devkit/build-angular v21/v20 dependency webpack-dev-server to 5.2.6 to mitigate GHSA-m28w-2pqf-7qgj and GHSA-f5vj-f2hx-8m93","articleBody":"### Command\n\nserve, other\n\n### Is this a regression?\n\n- [ ] Yes, this behavior used to work in the previous version\n\n### The previous version in which this bug was not present was\n\n_No response_\n\n### Description\n\nExcerpt from the `@angular-devkit/build-angular@21` dependency tree:\n\n```\n@angular-devkit/build-angular@21.2.21\n└── webpack-dev-server@5.2.5\n```\n\n`webpack-dev-server` \u003c= 5.2.5 is affected by two advisories, both fixed in 5.2.6:\n\n- GHSA-m28w-2pqf-7qgj (CVE-2026-14631, moderate) — denial of service: a malformed `Host` header, or a malformed `Origin` on a WebSocket upgrade to `/ws`, throws an uncaught exception in the host-validation logic and terminates the dev-server process.\n- GHSA-f5vj-f2hx-8m93 (CVE-2026-14620, moderate) — CSRF: `/webpack-dev-server/open-editor` and `/webpack-dev-server/invalidate` handle GET requests without verifying the request originated from the dev server's own page, so a page a developer visits while `ng serve` is running can open arbitrary local files in their editor or force repeated recompiles.\n\n`main` already pins `webpack-dev-server` 6.0.0 and 22.1.5 ships 5.2.6, so only the v21 and v20 lines are affected — branches `21.2.x` and `20.3.x` both pin `5.2.5`. Since the dependency is pinned to an exact version, consumers on those lines cannot pick up 5.2.6 without a package-manager override. 5.2.6 is a patch release of the already-pinned 5.2.x, so the bump should be a drop-in.\n\n### Minimal Reproduction\n\n- `npm view @angular-devkit/build-angular@21.2.21 dependencies.webpack-dev-server` prints `5.2.5` (same for `@20.3.34`)\n- Or: install `@angular-devkit/build-angular@^21` (or `^20`) in a project and run `npm audit`\n\n### Exception or Error\n\n```text\nDependency webpack-dev-server@5.2.5 vulnerable to GHSA-m28w-2pqf-7qgj and GHSA-f5vj-f2hx-8m93\n```\n\n### Your Environment\n\n```text\nNode.js : 24.19.0\nPackage Manager : npm 11.17.0\nOperating System : win32 x64\n\nPins taken from published package metadata and from the repository branches:\n\n@angular-devkit/build-angular@21.2.21 (v21-lts) -> webpack-dev-server 5.2.5 affected\n@angular-devkit/build-angular@20.3.34 (v20-lts) -> webpack-dev-server 5.2.5 affected\n@angular-devkit/build-angular@22.1.5 (latest) -> webpack-dev-server 5.2.6 already fixed\nbranch main -> webpack-dev-server 6.0.0 already fixed\n```\n\n### Anything else relevant?\n\n`@angular/build` does not depend on `webpack-dev-server`, so this only affects projects still using the webpack-based `@angular-devkit/build-angular` builders. The sibling `webpack-dev-middleware` pin (7.4.5 on `21.2.x`) is not affected by these advisories. Similar past report for the 2025 `webpack-dev-server` CVEs: #30505.\n","author":{"url":"https://github.com/florimond-collette","@type":"Person","name":"florimond-collette"},"datePublished":"2026-08-24T09:17:00Z","url":"https://github.com/angular/angular-cli/issues/33903"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29165ea3-862f-901c-8b20-d50644d2663d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6FE:4D9F2:18268FB:200D87A:6B020F6A |
| html-safe-nonce | e491bff7920b2a05d412ad327b11adcb000eaf17c63d89bb1277dec930e5e0d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkZFOjREOUYyOjE4MjY4RkI6MjAwRDg3QTo2QjAyMEY2QSIsInZpc2l0b3JfaWQiOiI0NzEzNTI0OTQ3NTU1ODQ4MDQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e1647969e0213887f93d342428527587838c2f37eaa89b392f7906507362a237 |
| hovercard-subject-tag | issue:5233071231 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/33903/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a78d689031279eb8783fd86a0113586a2b1afb187b72b7de4096be83e786bda9/angular/angular-cli/issues/33903 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a78d689031279eb8783fd86a0113586a2b1afb187b72b7de4096be83e786bda9/angular/angular-cli/issues/33903 |
| og:image:alt | Command serve, other Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description Excerpt from th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | florimond-collette |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width