GitHub Advisoryadvisory · npm

GHSA-xh3c-6gcq-g4rv multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing

HIGH Published 2026-05-18 Modified 2026-05-18 Official page ↗
Aliases
CVE-2026-8162
Ecosystem
npm
Packages
multiparty
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-755
Reviewed
2026-05-18

Affected packages

• npm multiparty: < 4.3.0 → fixed in 4.3.0

Description

Impact [email protected] and lower versions are vulnerable to denial of service via uncaught exception. By sending a `multipart/form-data` request with a `Content-Disposition: filename*=utf-8''` header containing a malformed percent-encoding (e.g., `%FF`, `%GG`), the parser invokes `decodeURI` on the value without try/catch. The resulting `URIError` propagates as an uncaught exception and crashes the process. Any service accepting multipart uploads via multiparty is affected. Patches Users should upgrade to [email protected] or higher. Workarounds None.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-755 Improper Handling of Exceptional Conditions weakness

References