This CVE is a duplicate of another CVE.
cve-program · CVE-2025-54371
RejectedThis CVE is a duplicate of another CVE.
Read the publisher's advisoryeuvd · EUVD-2025-22475
PublishedWithdrawn Advisory: Axios has Transitive Critical Vulnerability via form-data
Read the publisher's advisorynvd · CVE-2025-54371
RejectedRejected reason: This CVE is a duplicate of another CVE.
Read the publisher's advisoryosv · GHSA-rm8p-cx58-hcvx
Withdrawn### Withdrawn Advisory This advisory has been withdrawn because users of Axios 1.10.0 have the flexibility to use a patched version of form-data, the software in which the vulnerability originates, without upgrading Axios to address GHSA-fjxv-7rqg-78g4. ### Original Description A critical vulnerability exists in the form-data package used by `[email protected]`. 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](https://github.com/axios/axios/issues/6969) and addressed in [pull request #6970](https://github.com/axios/axios/pull/6970). ### Details The vulnerable package `[email protected]` is used by `[email protected]` 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](https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150) and [CVE-2025-7783](https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150). Affected `form-data` versions: - <2.5.4 - >=3.0.0 <3.0.4 - >=4.0.0 <4.0.4 Since `[email protected]` pulls in `[email protected]`, it is exposed to this issue. ### PoC 1. Install Axios: - `npm install [email protected]` 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 [email protected] via [email protected] > [email protected] ``` 3. 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 [email protected] 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](https://github.com/axios/axios/issues/6969) [Pull Request #xxxx](https://github.com/axios/axios/pull/xxxx) (replace with actual link) [Snyk Advisory](https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150) [form-data on npm](https://www.npmjs.com/package/form-data)
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-54371 · CVE overview and exploitation status
cve-program · CVE-2025-54371
euvd · EUVD-2025-22475
- https://github.com/axios/axios/security/advisories/GHSA-rm8p-cx58-hcvx
- https://nvd.nist.gov/vuln/detail/CVE-2025-54371
- https://nvd.nist.gov/vuln/detail/CVE-2025-7783
- https://github.com/axios/axios/issues/6969
- https://github.com/axios/axios/pull/6970
- https://github.com/advisories/GHSA-fjxv-7rqg-78g4
- https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150
nvd · CVE-2025-54371
osv · GHSA-rm8p-cx58-hcvx
- https://github.com/axios/axios/security/advisories/GHSA-rm8p-cx58-hcvx
- https://nvd.nist.gov/vuln/detail/CVE-2025-54371
- https://nvd.nist.gov/vuln/detail/CVE-2025-7783
- https://github.com/axios/axios/issues/6969
- https://github.com/axios/axios/pull/6970
- https://github.com/advisories/GHSA-fjxv-7rqg-78g4
- https://github.com/axios/axios
- https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150
Related changes
Linked by CVE identifierNo related changes are available here.