Skip to content

chore(deps): update dependency axios to v1.11.0 [security]#11150

Merged
chenjiahan merged 1 commit intomainfrom
renovate/npm-axios-vulnerability
Jul 23, 2025
Merged

chore(deps): update dependency axios to v1.11.0 [security]#11150
chenjiahan merged 1 commit intomainfrom
renovate/npm-axios-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 23, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
axios (source) 1.10.0 -> 1.11.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

GHSA-rm8p-cx58-hcvx

Summary

A critical vulnerability exists in the form-data package used by axios@1.10.0. The issue allows an attacker to predict multipart boundary values generated using Math.random(), opening the door to HTTP parameter pollution or injection attacks.

This was submitted in issue #​6969 and addressed in pull request #​6970.

Details

The vulnerable package form-data@4.0.0 is used by axios@1.10.0 as a transitive dependency. It uses non-secure, deterministic randomness (Math.random()) to generate multipart boundary strings.

This flaw is tracked under Snyk Advisory SNYK-JS-FORMDATA-10841150 and CVE-2025-7783.

Affected form-data versions:

  • <2.5.4
  • =3.0.0 <3.0.4

  • =4.0.0 <4.0.4

Since axios@1.10.0 pulls in form-data@4.0.0, it is exposed to this issue.

PoC

  1. Install Axios: - npm install axios@1.10.0
    2.Run snyk test:
Tested 104 dependencies for known issues, found 1 issue, 1 vulnerable path.

✗ Predictable Value Range from Previous Values [Critical Severity]
in form-data@4.0.0 via axios@1.10.0 > form-data@4.0.0

  1. Trigger a multipart/form-data request. Observe the boundary header uses predictable random values, which could be exploited in a targeted environment.

Impact

  • Vulnerability Type: Predictable Value / HTTP Parameter Pollution
  • Risk: Critical (CVSS 9.4)
  • Impacted Users: Any application using axios@1.10.0 to submit multipart form-data

This could potentially allow attackers to:

  • Interfere with multipart request parsing
  • Inject unintended parameters
  • Exploit backend deserialization logic depending on content boundaries

Related Links

GitHub Issue #​6969

Pull Request #xxxx (replace with actual link)

Snyk Advisory

form-data on npm


Release Notes

axios/axios (axios)

v1.11.0

Compare Source

Bug Fixes
Contributors to this release

Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 23, 2025
@netlify
Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 25ff067
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/688139c576fc1800083c15c8

@github-actions
Copy link
Contributor

📦 Binary Size-limit

Comparing 25ff067 to perf(wasm): use wasm-opt after building wasm (#11141) by CPunisher

🙈 Size remains the same at 49.03MB

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 23, 2025

CodSpeed Performance Report

Merging #11150 will not alter performance

Comparing renovate/npm-axios-vulnerability (25ff067) with main (2cdc39b)

🎉 Hooray! codspeed-rust just leveled up to 2.7.2!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 16 untouched benchmarks

@chenjiahan chenjiahan merged commit ea8059e into main Jul 23, 2025
47 checks passed
@chenjiahan chenjiahan deleted the renovate/npm-axios-vulnerability branch July 23, 2025 23:35
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant