webpack-dev-server 是为 webpack 项目提供热重载功能的开发服务器。在 5.1.0 至 5.2.7 之前的版本以及 6.0.0 版本中,未经验证的 open-editor 端点使用原本用于浏览器 Origin 方案的正则表达式来验证 Host 请求头。因此,若 Host 值以 开头或包含扩展方案(extension scheme),则会绕过主机名和 allowedHosts 的检查。能够访问该开发服务器的网络对等方可发送一个构造畸形的 Host 请求,使其通过验证,进而导致该端点在构建 UR
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| webpack-dev-server | webpack-dev-server | 5.1.0< 5.2.7 |
affected |
5.2.7 |
unaffected | ||
6.0.0< 6.1.0 |
affected | ||
6.1.0 |
unaffected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| webpack-dev-server | webpack-dev-server | 5.1.0 ~ 5.2.7 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet