[PR #751] Bump axios from 0.24.0 to 0.32.0 in /react-express-mongodb/frontend #12802

Open
opened 2026-06-12 07:12:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/751
Author: @dependabot[bot]
Created: 5/29/2026
Status: 🔄 Open

Base: master ← Head: dependabot/npm_and_yarn/react-express-mongodb/frontend/axios-0.32.0


📝 Commits (1)

  • 99bb377 Bump axios from 0.24.0 to 0.32.0 in /react-express-mongodb/frontend

📊 Changes

2 files changed (+9346 additions, -4766 deletions)

View changed files

📝 react-express-mongodb/frontend/package-lock.json (+9345 -4765)
📝 react-express-mongodb/frontend/package.json (+1 -1)

📄 Description

Bumps axios from 0.24.0 to 0.32.0.

Release notes

Sourced from axios's releases.

v0.32.0 — May 4, 2026

This release backports a comprehensive set of security and hardening fixes from the v1.x branch into v0.x, covering prototype-pollution protections, default error redaction, stricter proxy/cookie/socket handling, and one breaking change to merged config and header object prototypes.

⚠️ Breaking Changes & Deprecations

  • Null-prototype merged objects: mergeConfig and header merging now return objects with a null prototype to block prototype-pollution gadgets. Consumers must use Object.prototype.hasOwnProperty.call(obj, key) and avoid implicit string coercion against merged config or header objects. (#10838)

🔒 Security Fixes

  • Default error redaction: AxiosError.toJSON() now redacts sensitive keys by default to prevent credential leaks in logs. The behavior is configurable via config.redact, with defaults exposed on defaults.redact. (#10838)
  • Cookie & XSRF handling: Cookie names are read literally rather than via regex, and only own properties are respected when evaluating withXSRFToken. (#10838)
  • Proxy bypass IPv6 parity: NO_PROXY matching now handles canonical IPv4-mapped IPv6 forms such as ::ffff:127.0.0.1 and ::ffff:7f00:1. (#10838)
  • Node http adapter hardening: Strips Proxy-Authorization when no proxy is in use and gates socketPath behind a new allowedSocketPaths allowlist (string or array, normalized) to reduce accidental Unix socket exposure. (#10838)
  • Browser xhr adapter: Stricter own-property checks when reading config and headers. (#10838)
  • URL parameters: AxiosURLSearchParams keeps %00 encoded and applies consistent encoding throughout. (#10838)
  • Public type surface: Adds formDataHeaderPolicy, redact, and allowedSocketPaths to the TypeScript declarations alongside their runtime defaults. (#10838)

🔧 Maintenance & Chores

  • Repo hygiene: Updates README.md and CHANGELOG.md, adds AGENTS.md, and refreshes the issue and PR templates. (#10838)

Full Changelog

v0.31.1

This release backports a broad set of security hardenings from the v1 line — covering prototype-pollution defences, stream size enforcement, XSRF handling, URL null-byte encoding, and bounded FormData recursion — and drops committed dist/ artefacts along with Bower support.

⚠️ Breaking Changes & Deprecations

  • Bower & Committed dist/ Removed: dist/ bundles are no longer committed to the repo, and bower.json plus the Grunt package2bower task have been removed. CI still builds bundles before publish, so npm/yarn/pnpm consumers are unaffected; installs via Bower or directly from the git tree must migrate to npm or a CDN. (#10747)

🔒 Security Fixes

  • Prototype Pollution in Header Merge (GHSA-6chq-wfr3-2hj9): Tightened isFormData to reject plain/null-prototype objects and require append, and guarded the Node HTTP adapter so data.getHeaders() is only merged when it is not inherited from Object.prototype. Blocks injected headers via polluted getHeaders. (#10750)
  • Prototype Pollution in Config Merging (GHSA-pf86-5x62-jrwf): mergeConfig, defaults resolution, and the HTTP adapter now uses own-property checks for transport, env, Blob, formSerializer, and transforms arrays, and merged configs are returned as null-prototype objects. Prevents hijacking of the request flow through polluted prototypes. (#10752)
  • FormData / Params Recursion DoS: Added a configurable maxDepth (default 100, Infinity disables) to toFormData and params serialisation, throwing AxiosError with code ERR_FORM_DATA_DEPTH_EXCEEDED when exceeded. Circular-reference detection is preserved. (#10728)
  • Null-Byte Injection in Query Strings: Removed the unsafe %00 → null-byte substitution from AxiosURLSearchParams.encode so %00 is preserved as-is. Other encoding behaviour (including %20 → +) unchanged. (#10737)
  • Consolidated v1 Security Backport: Rolls up remaining v1 hardenings into v0.x: maxContentLength enforcement for responseType: 'stream' via a guarded transform with deferred piping, maxBodyLength enforcement for streamed uploads on native http/https with maxRedirects: 0, and stricter withXSRFToken handling so only own boolean true enables cross-origin XSRF headers. (#10764)

🔧 Maintenance & Chores

  • CODEOWNERS: Added .github/CODEOWNERS with * @jasonsaayman to set a default reviewer for all paths. (#10740)

Full Changelog

v0.31.0

This release backports security fixes from v1.x, hardens the CI/CD supply chain with OIDC publishing and zizmor scanning, resolves TypeScript typing issues in AxiosInstance, and fixes a performance regression in isEmptyObject().

🔒 Security Fixes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for axios since your current version.


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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/docker/awesome-compose/pull/751 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/29/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/react-express-mongodb/frontend/axios-0.32.0` --- ### 📝 Commits (1) - [`99bb377`](https://github.com/docker/awesome-compose/commit/99bb377f3b5d42190edea29951056f6a6eb42cc6) Bump axios from 0.24.0 to 0.32.0 in /react-express-mongodb/frontend ### 📊 Changes **2 files changed** (+9346 additions, -4766 deletions) <details> <summary>View changed files</summary> 📝 `react-express-mongodb/frontend/package-lock.json` (+9345 -4765) 📝 `react-express-mongodb/frontend/package.json` (+1 -1) </details> ### 📄 Description Bumps [axios](https://github.com/axios/axios) from 0.24.0 to 0.32.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>v0.32.0 — May 4, 2026</h2> <p>This release backports a comprehensive set of security and hardening fixes from the v1.x branch into v0.x, covering prototype-pollution protections, default error redaction, stricter proxy/cookie/socket handling, and one breaking change to merged config and header object prototypes.</p> <h2>⚠️ Breaking Changes &amp; Deprecations</h2> <ul> <li>Null-prototype merged objects: mergeConfig and header merging now return objects with a null prototype to block prototype-pollution gadgets. Consumers must use Object.prototype.hasOwnProperty.call(obj, key) and avoid implicit string coercion against merged config or header objects. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> </ul> <h2>🔒 Security Fixes</h2> <ul> <li>Default error redaction: AxiosError.toJSON() now redacts sensitive keys by default to prevent credential leaks in logs. The behavior is configurable via config.redact, with defaults exposed on defaults.redact. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li>Cookie &amp; XSRF handling: Cookie names are read literally rather than via regex, and only own properties are respected when evaluating withXSRFToken. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li>Proxy bypass IPv6 parity: NO_PROXY matching now handles canonical IPv4-mapped IPv6 forms such as ::ffff:127.0.0.1 and ::ffff:7f00:1. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li>Node http adapter hardening: Strips Proxy-Authorization when no proxy is in use and gates socketPath behind a new allowedSocketPaths allowlist (string or array, normalized) to reduce accidental Unix socket exposure. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li>Browser xhr adapter: Stricter own-property checks when reading config and headers. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li>URL parameters: AxiosURLSearchParams keeps %00 encoded and applies consistent encoding throughout. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li>Public type surface: Adds formDataHeaderPolicy, redact, and allowedSocketPaths to the TypeScript declarations alongside their runtime defaults. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> </ul> <h2>🔧 Maintenance &amp; Chores</h2> <ul> <li>Repo hygiene: Updates README.md and CHANGELOG.md, adds AGENTS.md, and refreshes the issue and PR templates. (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> </ul> <p><a href="https://github.com/axios/axios/compare/v0.31.1...v0.32.0"><strong>Full Changelog</strong></a></p> <h2>v0.31.1</h2> <p>This release backports a broad set of security hardenings from the v1 line — covering prototype-pollution defences, stream size enforcement, XSRF handling, URL null-byte encoding, and bounded FormData recursion — and drops committed <code>dist/</code> artefacts along with Bower support.</p> <h2>⚠️ Breaking Changes &amp; Deprecations</h2> <ul> <li><strong>Bower &amp; Committed <code>dist/</code> Removed:</strong> <code>dist/</code> bundles are no longer committed to the repo, and <code>bower.json</code> plus the Grunt <code>package2bower</code> task have been removed. CI still builds bundles before publish, so npm/yarn/pnpm consumers are unaffected; installs via Bower or directly from the git tree must migrate to npm or a CDN. (<strong><a href="https://redirect.github.com/axios/axios/issues/10747">#10747</a></strong>)</li> </ul> <h2>🔒 Security Fixes</h2> <ul> <li><strong>Prototype Pollution in Header Merge (GHSA-6chq-wfr3-2hj9):</strong> Tightened <code>isFormData</code> to reject plain/null-prototype objects and require <code>append</code>, and guarded the Node HTTP adapter so <code>data.getHeaders()</code> is only merged when it is not inherited from <code>Object.prototype</code>. Blocks injected headers via polluted <code>getHeaders</code>. (<strong><a href="https://redirect.github.com/axios/axios/issues/10750">#10750</a></strong>)</li> <li><strong>Prototype Pollution in Config Merging (GHSA-pf86-5x62-jrwf):</strong> <code>mergeConfig</code>, defaults resolution, and the HTTP adapter now uses own-property checks for <code>transport</code>, <code>env</code>, <code>Blob</code>, <code>formSerializer</code>, and transforms arrays, and merged configs are returned as null-prototype objects. Prevents hijacking of the request flow through polluted prototypes. (<strong><a href="https://redirect.github.com/axios/axios/issues/10752">#10752</a></strong>)</li> <li><strong>FormData / Params Recursion DoS:</strong> Added a configurable <code>maxDepth</code> (default <code>100</code>, <code>Infinity</code> disables) to <code>toFormData</code> and params serialisation, throwing <code>AxiosError</code> with code <code>ERR_FORM_DATA_DEPTH_EXCEEDED</code> when exceeded. Circular-reference detection is preserved. (<strong><a href="https://redirect.github.com/axios/axios/issues/10728">#10728</a></strong>)</li> <li><strong>Null-Byte Injection in Query Strings:</strong> Removed the unsafe <code>%00</code> → null-byte substitution from <code>AxiosURLSearchParams.encode</code> so <code>%00</code> is preserved as-is. Other encoding behaviour (including <code>%20</code> → <code>+</code>) unchanged. (<strong><a href="https://redirect.github.com/axios/axios/issues/10737">#10737</a></strong>)</li> <li><strong>Consolidated v1 Security Backport:</strong> Rolls up remaining v1 hardenings into <code>v0.x</code>: <code>maxContentLength</code> enforcement for <code>responseType: 'stream'</code> via a guarded transform with deferred piping, <code>maxBodyLength</code> enforcement for streamed uploads on native <code>http</code>/<code>https</code> with <code>maxRedirects: 0</code>, and stricter <code>withXSRFToken</code> handling so only own boolean <code>true</code> enables cross-origin XSRF headers. (<strong><a href="https://redirect.github.com/axios/axios/issues/10764">#10764</a></strong>)</li> </ul> <h2>🔧 Maintenance &amp; Chores</h2> <ul> <li><strong>CODEOWNERS:</strong> Added <code>.github/CODEOWNERS</code> with <code>* @jasonsaayman</code> to set a default reviewer for all paths. (<strong><a href="https://redirect.github.com/axios/axios/issues/10740">#10740</a></strong>)</li> </ul> <p><a href="https://github.com/axios/axios/compare/v0.31.0...v0.31.1">Full Changelog</a></p> <h2>v0.31.0</h2> <p>This release backports security fixes from v1.x, hardens the CI/CD supply chain with OIDC publishing and <code>zizmor</code> scanning, resolves TypeScript typing issues in <code>AxiosInstance</code>, and fixes a performance regression in <code>isEmptyObject()</code>.</p> <h2>🔒 Security Fixes</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/axios/axios/commit/8db2d44896849a21ed9721185b1034df24e1ba7b"><code>8db2d44</code></a> chore: bump version to v0.32.0 (<a href="https://redirect.github.com/axios/axios/issues/10840">#10840</a>)</li> <li><a href="https://github.com/axios/axios/commit/2af6116a957b1dd1b32056181326da8a5540d3bc"><code>2af6116</code></a> chore: backport fixes from the v1x branch (<a href="https://redirect.github.com/axios/axios/issues/10838">#10838</a>)</li> <li><a href="https://github.com/axios/axios/commit/a589dc525af12e0fabef7d6e5be028ad433eee31"><code>a589dc5</code></a> chore: bump version to v0.31.1 (<a href="https://redirect.github.com/axios/axios/issues/10766">#10766</a>)</li> <li><a href="https://github.com/axios/axios/commit/b0c632f36a5ea2e73c9bdf3a54164a8ede925736"><code>b0c632f</code></a> fix: backport security issues (<a href="https://redirect.github.com/axios/axios/issues/10764">#10764</a>)</li> <li><a href="https://github.com/axios/axios/commit/b52187f4571b6b8663fed5904e3082ab30660364"><code>b52187f</code></a> fix: harden config merging (<a href="https://redirect.github.com/axios/axios/issues/10752">#10752</a>)</li> <li><a href="https://github.com/axios/axios/commit/e3ddeb40f6a142a234925341151e2ca631a6de64"><code>e3ddeb4</code></a> fix: header security issues (<a href="https://redirect.github.com/axios/axios/issues/10750">#10750</a>)</li> <li><a href="https://github.com/axios/axios/commit/f4f2d76e25cc0f777e5416e2d76282ab873ef9dc"><code>f4f2d76</code></a> chore: stop committing dist/ and remove bower (<a href="https://redirect.github.com/axios/axios/issues/10747">#10747</a>)</li> <li><a href="https://github.com/axios/axios/commit/1f2f64433e5be205d74471c78c2721909282b9c0"><code>1f2f644</code></a> chore: add CODEOWNERS (<a href="https://redirect.github.com/axios/axios/issues/10740">#10740</a>)</li> <li><a href="https://github.com/axios/axios/commit/44bca902e1bdd7dd6490c7b4985b63e729b0e634"><code>44bca90</code></a> fix: improve regex in AxiosURLSearchParams (<a href="https://redirect.github.com/axios/axios/issues/10737">#10737</a>)</li> <li><a href="https://github.com/axios/axios/commit/4c4f07fabdb005f5430bab797f12b55e2ed5fb33"><code>4c4f07f</code></a> fix: form data recursion (<a href="https://redirect.github.com/axios/axios/issues/10728">#10728</a>)</li> <li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.24.0...v0.32.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for axios since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=0.24.0&new-version=0.32.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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](https://github.com/docker/awesome-compose/network/alerts). </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-12 07:12:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#12802