Expressjs vulnerabilities

20 vulnerabilities

Known vulnerabilities in Expressjs products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 6 products.

Products

6
PrioritiseCVE-2026-82333multer +3 moremulter vulnerable to Denial of Service via oversized array index in field namesmulter is a middleware for handling multipart/form-data in Node.js. A small multipart request with two specially crafted text field names can make multer's field parser synchronously iterate a maximum-length sparse array, blocking the event loop so the process cannot handle other requests. A large numeric array index in the first field allocates a maximum-length sparse array, and a second field with a non-numeric key then triggers a full-length iteration inside the append-field dependency. All versions before 2.3.0 are affected, and this is a remotely triggerable denial of service. multer 2.3.0 adds an opt-in fieldArrayIndexLimit option that rejects oversized array indexes. Upgrade to multer 2.3.0 and set limits.fieldArrayIndexLimit to the largest array index your application needs to remediate.CVSS7.5HighEPSS0.43%PrioritiseCVE-2026-77078multer +3 moremulter vulnerable to Denial of Service via crafted multipart field namesmulter is a middleware for handling multipart/form-data in Node.js. A small multipart request containing two specially crafted text field names can cause an uncaught RangeError (Invalid array length) that terminates the Node.js process. The first field uses a very large numeric array index to allocate a maximum-length sparse array, and a second field then pushes past that length, which throws inside the append-field dependency and is not caught by multer. All versions before 2.3.0 are affected, and the issue is a remotely triggerable denial of service. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.CVSS7.5HighEPSS0.42%RoutineCVE-2026-77063multer +3 moremulter vulnerable to file size limit bypass via async fileFilter race conditionmulter is a middleware for handling multipart/form-data in Node.js. When an application uses an asynchronous fileFilter together with the fileSize limit, a race condition in multer's file stream handling can allow a file that exceeds the configured size limit to bypass the size-limit rejection. All versions before 2.3.0 are affected. The impact is limited because the underlying multipart parser still truncates the stream at the size limit, so this is a bypass of the limit rejection rather than uncontrolled resource consumption. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.CVSS3.7LowEPSS0.20%PrioritiseCVE-2026-77037multer +3 moremulter vulnerable to Denial of Service via file descriptor leak on aborted uploadsmulter is a middleware for handling multipart/form-data in Node.js. In version 2.2.0, when a disk-backed upload is aborted or truncated before the write stream finishes, multer's disk storage engine removes the visible file but does not close the underlying write file descriptor, leaving a deleted but still open descriptor. A remote attacker able to reach an upload route using the built-in disk storage can send repeated aborted or malformed multipart uploads, each one leaking a file descriptor and retaining disk blocks until the process exits, which can exhaust resources and cause a denial of service. The issue is fixed in multer 2.3.0, which closes the destination write stream on abnormal source termination and defers cleanup until the stream has closed. Upgrade to multer 2.3.0 to remediate.CVSS7.5HighEPSS0.46%RoutineCVE-2026-5038multer +2 moremulter vulnerable to Denial of Service via incomplete cleanup of aborted uploadsImpact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required. Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path. Workarounds: None.CVSS7.5HighEPSS0.37%PrioritiseCVE-2026-5079multer +2 moremulter vulnerable to Denial of Service via deeply nested field namesImpact: multer versions 1.0.0 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service via deeply nested field names in multipart form data. The append-field dependency parses bracket notation in field names with no limit on nesting depth, allowing an attacker to force allocation of deeply nested object structures that consume CPU and memory. A single HTTP request with a crafted multipart body is sufficient to exploit this. Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease) and configure the new limits.fieldNestingDepth option to the minimum depth their application requires. Workarounds: Set limits.fields to a reasonable value to reduce the number of fields an attacker can send per request. This does not fully mitigate the issue but limits the impact.CVSS7.5HighEPSS0.33%PrioritiseCVE-2026-3520expressjs · multer +3 moreMulter vulnerable to Denial of Service via uncontrolled recursionMulter is a node.js middleware for handling `multipart/form-data`. A vulnerability in Multer prior to version 2.1.1 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing stack overflow. Users should upgrade to version 2.1.1 to receive a patch. No known workarounds are available.CVSS8.7HighEPSS0.84%PrioritiseCVE-2026-3304expressjs · multer +3 moreMulter vulnerable to Denial of Service via incomplete cleanupMulter is a node.js middleware for handling `multipart/form-data`. A vulnerability in Multer prior to version 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing resource exhaustion. Users should upgrade to version 2.1.0 to receive a patch. No known workarounds are available.CVSS8.7HighEPSS0.73%PrioritiseCVE-2026-2359expressjs · multer +3 moreMulter vulnerable to Denial of Service via resource exhaustionMulter is a node.js middleware for handling `multipart/form-data`. A vulnerability in Multer prior to version 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by dropping connection during file upload, potentially causing resource exhaustion. Users should upgrade to version 2.1.0 to receive a patch. No known workarounds are available.CVSS8.7HighEPSS0.73%PrioritiseCVE-2025-7338expressjs · multer +1 moreMulter vulnerable to Denial of Service via unhandled exception from malformed requestMulter is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 2.0.2 allows an attacker to trigger a Denial of Service (DoS) by sending a malformed multi-part upload request. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to version 2.0.2 to receive a patch. No known workarounds are available.CVSS7.5HighEPSS0.81%PrioritiseCVE-2025-48997expressjs · multer +3 moreMulter vulnerable to Denial of Service via unhandled exceptionMulter is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 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. Users should upgrade to `2.0.1` to receive a patch. No known workarounds are available.CVSS8.7HighEPSS0.49%PrioritiseCVE-2025-47944expressjs · multer +3 moreMulter vulnerable to Denial of Service from maliciously crafted requestsMulter is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 2.0.0 allows an attacker to trigger a Denial of Service (DoS) by sending a malformed multi-part upload request. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to version 2.0.0 to receive a patch. No known workarounds are available.CVSS7.5HighEPSS0.83%PrioritiseCVE-2025-47935expressjs · multer +3 moreMulter vulnerable to Denial of Service via memory leaks from unclosed streamsMulter is a node.js middleware for handling `multipart/form-data`. Versions prior to 2.0.0 are vulnerable to a resource exhaustion and memory leak issue due to improper stream handling. When the HTTP request stream emits an error, the internal `busboy` stream is not closed, violating Node.js stream safety guidance. This leads to unclosed streams accumulating over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can result in denial of service, requiring manual server restarts to recover. All users of Multer handling file uploads are potentially impacted. Users should upgrade to 2.0.0 to receive a patch. No known workarounds are available.CVSS7.5HighEPSS0.81%RoutineCVE-2024-9266expressjs · express +1 moreOpen RedirectURL Redirection to Untrusted Site ('Open Redirect') vulnerability in Express. This vulnerability affects the use of the Express Response object. This issue impacts Express: from 3.4.5 before 4.0.0.CVSS4.7MediumEPSS0.46%PrioritiseCVE-2024-47178expressjs · basic-auth-connect +1 morebasic-auth-connect's callback uses time unsafe string comparisonbasic-auth-connect is Connect's Basic Auth middleware in its own module. basic-auth-connect < 1.1.0 uses a timing-unsafe equality comparison that can leak timing information. This issue has been fixed in basic-auth-connect 1.1.0.CVSS8.7HighEPSS0.52%PrioritiseCVE-2024-45590expressjs · body-parser +37 morebody-parser vulnerable to denial of service when url encoding is enabledbody-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.CVSS7.5HighEPSS0.96%RoutineCVE-2024-43800expressjs · serve-static +37 moreserve-static affected by template injection that can lead to XSSserve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.CVSS5.0MediumEPSS0.63%RoutineCVE-2024-43796expressjs · express +37 moreexpress vulnerable to XSS via response.redirect()Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.CVSS5.0MediumEPSS0.49%RoutineCVE-2024-29041expressjs · express +37 moreExpress.js Open Redirect in malformed URLsExpress.js minimalist web framework for node. Versions of Express.js prior to 4.19.0 and all pre-release alpha and beta versions of 5.0 are affected by an open redirect vulnerability using malformed URLs. When a user of Express performs a redirect using a user-provided URL Express performs an encode [using `encodeurl`](https://github.com/pillarjs/encodeurl) on the contents before passing it to the `location` header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list. The main method impacted is `res.location()` but this is also called from within `res.redirect()`. The vulnerability is fixed in 4.19.2 and 5.0.0-beta.3.CVSS6.1MediumEPSS0.79%PrioritiseCVE-2017-16136hackerone · method-override node module +2 morehackerone method-override node modulemethod-override is a module used by the Express.js framework to let you use HTTP verbs such as PUT or DELETE in places where the client doesn't support it. method-override is vulnerable to a regular expression denial of service vulnerability when specially crafted input is passed in to be parsed via the X-HTTP-Method-Override header.CVSS7.5HighEPSS1.17%