Skip to content

Bump webpack-dev-server from 1.16.5 to 5.2.4#38

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/webpack-dev-server-5.2.4
Open

Bump webpack-dev-server from 1.16.5 to 5.2.4#38
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/webpack-dev-server-5.2.4

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Bumps webpack-dev-server from 1.16.5 to 5.2.4.

Release notes

Sourced from webpack-dev-server's releases.

v5.2.4

5.2.4 (2026-05-11)

Bug Fixes

  • set Cross-Origin-Resource-Policy header to prevent source code theft over HTTP

v5.2.3

5.2.3 (2026-01-12)

Bug Fixes

  • add cause for errorObject (#5518) (37b033d)
  • compatibility with event target and universal target and lazy compilation (574026c)
  • overlay: add ESC key to dismiss overlay (#5598) (f91baa8)
  • progress indicator styles (#5557) (41a53a1)
  • upgrade selfsigned to v5

v5.2.2

5.2.2 (2025-06-03)

Bug Fixes

  • "Overlay enabled" false positive (18e72ee)
  • do not crush when error is null for runtime errors (#5447) (309991f)
  • remove unnecessary header X_TEST (#5451) (64a6124)
  • respect the allowedHosts option for cross-origin header check (#5510) (03d1214)

v5.2.1

5.2.1 (2025-03-26)

Security

  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.

Bug Fixes

  • prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)

v5.2.0

5.2.0 (2024-12-11)

Features

... (truncated)

Changelog

Sourced from webpack-dev-server's changelog.

5.2.4 (2026-05-11)

Bug Fixes

  • set Cross-Origin-Resource-Policy header to prevent source code theft over HTTP

5.2.3 (2026-01-12)

Bug Fixes

  • add cause for errorObject (#5518) (37b033d)
  • compatibility with event target and universal target and lazy compilation (574026c)
  • overlay: add ESC key to dismiss overlay (#5598) (f91baa8)
  • progress indicator styles (#5557) (41a53a1)
  • upgrade selfsigned to v5

5.2.2 (2025-06-03)

Bug Fixes

  • "Overlay enabled" false positive (18e72ee)
  • do not crush when error is null for runtime errors (#5447) (309991f)
  • remove unnecessary header X_TEST (#5451) (64a6124)
  • respect the allowedHosts option for cross-origin header check (#5510) (03d1214)

5.2.1 (2025-03-26)

Security

  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.

Bug Fixes

  • prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)

5.2.0 (2024-12-11)

Features

  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)

Bug Fixes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by evilebottnawi, a new releaser for webpack-dev-server since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 1.16.5 to 5.2.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v1.16.5...v5.2.4)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 21, 2026
@semgrepcode-auth0
Copy link
Copy Markdown

Semgrep found 1 ssc-4759c514-b537-20ef-d52f-ebb0a5c388fa finding:

Risk: Affected versions of axios are vulnerable to Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') / Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') / Server-Side Request Forgery (SSRF). Axios can be used as a gadget for header injection: if another dependency enables prototype pollution, polluted properties can be merged into Axios request headers and written without CRLF sanitization, allowing request smuggling/SSRF that can reach internal services such as AWS IMDSv2 and potentially lead to credential theft or broader compromise.

Fix: Upgrade this library to at least version 0.31.0 at contact-form/package-lock.json:1339.

Reference(s): GHSA-fvcv-3m26-pcqx, CVE-2026-40175

Semgrep found 1 ssc-5ea2c631-7cef-a4e0-e641-d179af079827 finding:

Risk: Affected versions of axios are vulnerable to Server-Side Request Forgery (SSRF) / Unintended Proxy or Intermediary ('Confused Deputy'). Axios does not normalize hostnames before applying NO_PROXY, so requests to loopback or internal hosts such as localhost. or [::1] can be sent through a configured proxy instead of bypassing it. If an attacker can influence request URLs, they may force local/internal Axios traffic through an attacker-controlled proxy, undermining SSRF protections and exposing sensitive responses.

Manual Review Advice: A vulnerability from this advisory is reachable if you have NO_PROXY configured in your environment

Fix: Upgrade this library to at least version 0.31.0 at contact-form/package-lock.json:1339.

Reference(s): GHSA-3p68-rc4w-qgx5, CVE-2025-62718

Semgrep found 1 ssc-bbe59642-9c39-4446-8f29-775c168afa9e finding:

Risk: Affected versions of jquery are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Improper handling of attacker-controlled HTML during DOM insertion may result in unintended script execution in the context of the affected page.

Manual Review Advice: A vulnerability from this advisory is reachable if you pass HTML from untrusted sources to a jQuery's DOM manipulation method without any sanitization like DOMPurify with its SAFE_FOR_JQUERY option when using jQuery in Browser

Fix: Upgrade this library to at least version 3.5.0 at contact-form/package-lock.json:8357.

Reference(s): GHSA-jpcq-cgw6-v4j6, CVE-2020-11023

Semgrep found 1 ssc-99ced192-711b-40d7-affb-568e45eab4e5 finding:

Risk: Affected versions of jquery are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Passing HTML from untrusted sources—even after sanitization—to DOM manipulation methods in jquery may result in execution of untrusted code.

Manual Review Advice: A vulnerability from this advisory is reachable if you have not added the jQuery.htmlPrefilter function to your code as a workaround for jQuery 1.12/2.2 or newer versions

Fix: Upgrade this library to at least version 3.5.0 at contact-form/package-lock.json:8357.

Reference(s): GHSA-gxr4-xjj5-5px2, CVE-2020-11022

Semgrep found 1 ssc-14f6c9a3-9712-488d-aa61-02218488adef finding:

Risk: This specific version of fsevents contains malicious code. Upgrade to the safe version immediately.

Fix: Upgrade this library to at least version 1.2.11 at contact-form/package-lock.json:5775.

Reference(s): https://osv.dev/vulnerability/MAL-2023-462

Semgrep found 1 ssc-2b10eb66-0d71-4a46-ace0-cd5ab36d3141 finding:

Risk: Affected versions of acorn are vulnerable to Uncontrolled Resource Consumption. A regular-expression denial-of-service exists in Acorn's RegExp parser: a pattern like /[x-\ud800]/u (an invalid UTF-16 range) causes the parser to spin in an infinite loop. If an application feeds untrusted code directly into Acorn, an attacker can supply such a regex to trigger a CPU-hogging infinite loop and achieve Denial of Service.

Manual Review Advice: A vulnerability from this advisory is reachable if you are using acorn on the CLI

Fix: Upgrade this library to at least version 5.7.4 at contact-form/package-lock.json:899.

Reference(s): GHSA-6chw-6frg-f759

Semgrep found 1 ssc-783d6282-b329-42de-b9e3-741ae63ddaa7 finding:

Risk: Affected versions of http-proxy are vulnerable to Incomplete List of Disallowed Inputs / Protection Mechanism Failure. A denial-of-service exists in node-http-proxy when using proxyReq.setHeader: an HTTP request with a body longer than ~1024 bytes triggers an unhandled ERR_HTTP_HEADERS_SENT exception that crashes the proxy server.

Manual Review Advice: A vulnerability from this advisory is reachable if you set headers on the proxy request using the proxyReq.setHeader function in a standalone proxy server implemented using the http-proxy package

Fix: Upgrade this library to at least version 1.18.1 at contact-form/package-lock.json:7352.

Reference(s): GHSA-6x33-pw7p-hmpq

Semgrep found 1 ssc-ae0261cf-6ee1-4026-8199-9d51d98e7718 finding:

Risk: Affected versions of ua-parser-js are vulnerable to Uncontrolled Resource Consumption. UAParser.js uses a vulnerable regular expression to parse User-Agent headers. A malicious header can trigger catastrophic backtracking in the regex, resulting in prolonged processing times and potential denial of service.

Manual Review Advice: A vulnerability from this advisory is reachable if you are using ua-parser-js via npx cli

Fix: Upgrade this library to at least version 0.7.24 at contact-form/package-lock.json:13108.

Reference(s): GHSA-78cj-fxph-m83p, CVE-2021-27292

Semgrep found 1 ssc-00f64d4f-00eb-4fb4-845e-f30d8f6ed59e finding:

Risk: Affected versions of ua-parser-js are vulnerable to Uncontrolled Resource Consumption. A specially crafted user agent string can trigger catastrophic backtracking in the regex designed for Redmi Phones and Mi Pad Tablets. This may result in a Regular Expression Denial of Service, causing resource exhaustion when ua-parser-js attempts to parse the malicious input.

Manual Review Advice: A vulnerability from this advisory is reachable if you are using ua-parser-js via npx cli

Fix: Upgrade this library to at least version 0.7.22 at contact-form/package-lock.json:13108.

Reference(s): GHSA-662x-fhqg-9p8v, CVE-2020-7733

Semgrep found 1 ssc-dbb9eafa-1a18-4071-96d8-a06789849c96 finding:

Risk: Affected versions of ua-parser-js are vulnerable to Uncontrolled Resource Consumption. UAParser.js is vulnerable to Regular Expression Denial of Service (ReDoS) attacks. Maliciously crafted user agent strings can trigger inefficient regex patterns, leading to excessive backtracking and high CPU consumption, which may ultimately cause service degradation or a denial of service.

Manual Review Advice: A vulnerability from this advisory is reachable if you are using ua-parser-js via npx cli

Fix: Upgrade this library to at least version 0.7.23 at contact-form/package-lock.json:13108.

Reference(s): GHSA-394c-5j6w-4xmx, CVE-2020-7793

Semgrep found 1 ssc-17eda294-146f-4ed3-91f7-5ef1b349d687 finding:

Risk: Affected versions of @babel/traverse and babel-traverse are vulnerable to Incomplete List of Disallowed Inputs / Incorrect Comparison. Compiling untrusted code with Babel using plugins that invoke the internal path.evaluate() or path.evaluateTruthy() methods (for example @babel/plugin-transform-runtime, @babel/preset-env with useBuiltIns, or any polyfill‐provider plugin) allows a maliciously crafted AST to execute arbitrary code on the build machine during compilation.

Manual Review Advice: A vulnerability from this advisory is reachable if you use Babel to compile untrusted JavaScript

Fix: There are no safe versions of this library available for upgrade. Library included at contact-form/package-lock.json:2164.

Reference(s): GHSA-67hx-6x53-jw92, CVE-2023-45133

Semgrep found 1 ssc-d9ab4f79-cb65-45c4-8f1a-4c8068cea0c4 finding:

Risk: uglify-js 2.x before 2.4.24 is vulnerable to Incorrect Comparison Logic Granularity which may cause crafted JavaScript to have altered functionality after minification.

Manual Review Advice: A vulnerability from this advisory is reachable if you are using uglifyjs on CLI to minify

Fix: Upgrade this library to at least version 2.4.24 at contact-form/package-lock.json:12978.

Reference(s): GHSA-34r7-q49f-h37c, CVE-2015-8857

Semgrep found 1 ssc-1606921e-eb4c-4a25-bcec-3cbfbc985ee1 finding:

Risk: Affected version of deep-extend is vulnerable to Prototype Pollution. Malicious input passed to deep-extend allows an attacker to overwrite the prototype of Object, polluting all JavaScript objects with arbitrary properties. This can lead to Denial of Service or even Remote Code Execution.

Fix: Upgrade this library to at least version 0.5.1 at contact-form/package-lock.json:5899.

Reference(s): GHSA-hr2v-3952-633q, CVE-2018-3750

Semgrep found 1 ssc-5b39e392-a807-469c-b61e-9053bf9f4629 finding:

Risk: Affected version of constantinople 3.x before 3.1.1 are vulnerable to a sandbox bypass which can lead to arbitrary code execution.

Fix: Upgrade this library to at least version 3.1.1 at contact-form/package-lock.json:3309.

Reference(s): GHSA-4vmm-mhcq-4x9j

Semgrep found 2 ssc-0df1d23c-17f9-4a9b-956f-dc8a9d741e65 findings:

Risk: Affected versions of set-value and set-value are vulnerable to Improperly Controlled Modification Of Object Prototype Attributes ('Prototype Pollution'). The set function fails to validate which Object properties it updates. This allows attackers to modify the prototype of Object, causing the addition or modification of an existing property on all objects.

Fix: Upgrade this library to at least version 2.0.1 at contact-form/package-lock.json:11813.

Reference(s): GHSA-4g88-fppr-53pp, CVE-2019-10747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants