Advisory

GHSA-g5hg-p3ph-g8qg

Also known as: CVE-2025-48997

Summary

Multer vulnerable to Denial of Service via unhandled exception

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-06-05 01:09 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

multer

npm · All systems

Affected

  • introduced 1.4.4-lts.1, fixed 2.0.1 (semver)

Fixed versions

2.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences