GHSA-g5hg-p3ph-g8qg
Multer vulnerable to Denial of Service via unhandled exception
Quick fix
GHSA-g5hg-p3ph-g8qg — multer: upgrade to the fixed version with the command below.
npm install multer@2.0.1Details
### Impact
A vulnerability in Multer versions >=1.4.4-lts.1, <2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process.
### Patches
Users should upgrade to `2.0.1`
### Workarounds
None
### References
https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9 https://github.com/expressjs/multer/issues/1233 https://github.com/expressjs/multer/pull/1256
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/expressjs/multer/security/advisories/GHSA-g5hg-p3ph-g8qg[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-48997[ADVISORY]
- https://github.com/expressjs/multer/issues/1233[WEB]
- https://github.com/expressjs/multer/pull/1256[WEB]
- https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9[WEB]
- https://github.com/expressjs/multer[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/multer"]}'