chore(deps-dev): bump axios from 0.31.0 to 0.31.1 in /web
Open
Number: #868
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Unknown
Comments: 1
Association: Unknown
Comments: 1
Created:
May 01, 2026 at 12:08 AM UTC
(about 1 month ago)
(about 1 month ago)
Updated:
May 01, 2026 at 12:12 AM UTC
(about 1 month ago)
(about 1 month ago)
Labels:
dependencies javascript
dependencies javascript
Assignees:
AchoArnold
AchoArnold
Description:
Bumps axios from 0.31.0 to 0.31.1.
Release notes
Sourced from axios's releases.
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, andbower.jsonplus the Gruntpackage2bowertask 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
isFormDatato reject plain/null-prototype objects and requireappend, and guarded the Node HTTP adapter sodata.getHeaders()is only merged when it is not inherited fromObject.prototype. Blocks injected headers via pollutedgetHeaders. (#10750)- Prototype Pollution in Config Merging (GHSA-pf86-5x62-jrwf):
mergeConfig, defaults resolution, and the HTTP adapter now uses own-property checks fortransport,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(default100,Infinitydisables) totoFormDataand params serialisation, throwingAxiosErrorwith codeERR_FORM_DATA_DEPTH_EXCEEDEDwhen exceeded. Circular-reference detection is preserved. (#10728)- Null-Byte Injection in Query Strings: Removed the unsafe
%00→ null-byte substitution fromAxiosURLSearchParams.encodeso%00is preserved as-is. Other encoding behaviour (including%20→+) unchanged. (#10737)- Consolidated v1 Security Backport: Rolls up remaining v1 hardenings into
v0.x:maxContentLengthenforcement forresponseType: 'stream'via a guarded transform with deferred piping,maxBodyLengthenforcement for streamed uploads on nativehttp/httpswithmaxRedirects: 0, and stricterwithXSRFTokenhandling so only own booleantrueenables cross-origin XSRF headers. (#10764)🔧 Maintenance & Chores
- CODEOWNERS: Added
.github/CODEOWNERSwith* @jasonsaaymanto set a default reviewer for all paths. (#10740)
Commits
a589dc5chore: bump version to v0.31.1 (#10766)b0c632ffix: backport security issues (#10764)b52187ffix: harden config merging (#10752)e3ddeb4fix: header security issues (#10750)f4f2d76chore: stop committing dist/ and remove bower (#10747)1f2f644chore: add CODEOWNERS (#10740)44bca90fix: improve regex in AxiosURLSearchParams (#10737)4c4f07ffix: form data recursion (#10728)- See full diff in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| axios | [>= 1.a, < 2] |
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 15576258 |
| UUID: | 4362031109 |
| Node ID: | PR_kwDOHajk3c7XTTZT |
| Host: | GitHub |
| Repository: | NdoleStudio/httpsms |