Skip to content

Multer vulnerable to Denial of Service via unhandled exception

High
ctcpip published GHSA-g5hg-p3ph-g8qg Jun 3, 2025

Package

npm multer (npm)

Affected versions

>=1.4.4-lts.1, <2.0.1

Patched versions

2.0.1

Description

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

35a3272
#1233
#1256

Severity

High

CVE ID

CVE-2025-48997

Weaknesses

Uncaught Exception

An exception is thrown from a function, but it is not caught. Learn more on MITRE.

Credits