Skip to content

bumpup axios to fix CVE-2025-7783#2546

Merged
pascalbaljet merged 6 commits intoinertiajs:masterfrom
vallerydelexy:master
Aug 26, 2025
Merged

bumpup axios to fix CVE-2025-7783#2546
pascalbaljet merged 6 commits intoinertiajs:masterfrom
vallerydelexy:master

Conversation

@vallerydelexy
Copy link
Copy Markdown
Contributor

Description

This PR addresses a critical vulnerability reported by Snyk in the form-data package, which is a transitive dependency of axios

Vulnerability: [Predictable Value Range from Previous Values (CVE-2025-7783)](https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150)
Severity: Critical (CVSS 9.4)
Introduced via: axios@1.10.0 > form-data@4.0.0
Remediation: Upgrade form-data to 4.0.4 or higher.

This vulnerability stems from form-data's use of Math.random() for HTTP multipart boundary generation, which allows for predictability and potential exploitation via parameter pollution attacks.
What has been done

Ensured form-data is updated to ^4.0.4, which includes the upstream fix.
Reviewed dependency tree to confirm no remaining vulnerable paths.
Confirmed with snyk test:

✅ Screenshot from Snyk:
✔ Tested 57 dependencies for known issues, no vulnerable paths found.

Tested 104 dependencies for known issues, found 1 issue, 1 vulnerable path.

✗ Predictable Value Range from Previous Values [Critical Severity]
https://security.snyk.io/vuln/SNYK-JS-FORMDATA-10841150
in form-data@4.0.0 via axios@1.10.0 > form-data@4.0.0

468500258-656ea81b-70f0-4cb2-a415-90f1ef9aa7a4

@pascalbaljet
Copy link
Copy Markdown
Member

See also: laravel/laravel#6645

@pascalbaljet pascalbaljet merged commit 8d86153 into inertiajs:master Aug 26, 2025
11 of 14 checks passed
@pascalbaljet
Copy link
Copy Markdown
Member

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants