Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-proxied-websocket-origin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-host-headers.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.2.7

### Patch Changes

- Validate the `Host` and `Origin` headers and enforce same-origin checks on WebSocket upgrade requests handled by proxies with `ws: true`. This prevents cross-origin pages from connecting to proxied WebSocket services through the development server. (by [@github-actions](https://github.com/apps/github-actions) in [#5766](https://github.com/webpack/webpack-dev-server/pull/5766))

- Validate Host and HTTP/2 authority headers independently of Origin protocol exceptions, including when `allowedHosts` is `"all"`. Handle malformed open-editor URLs with a controlled response and parse their query without relying on the Host header. (by [@bjohansebas](https://github.com/bjohansebas) in [#5772](https://github.com/webpack/webpack-dev-server/pull/5772))

## 5.2.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-dev-server",
"version": "5.2.6",
"version": "5.2.7",
"description": "Serves a webpack app. Updates the browser on changes.",
"homepage": "https://github.com/webpack/webpack-dev-server#readme",
"bugs": "https://github.com/webpack/webpack-dev-server/issues",
Expand Down