Nuxt payload URL generation has quadratic cost for repeated slashes in the request path
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:nuxt | >= 4.6.0, < 4.6.4 | 4.6.4 |
Nuxt strips trailing slashes from the request path with a regular expression whose cost grows quadratically with the length of a run of consecutive slashes. A single unauthenticated request with a long run of slashes can occupy the server's event loop for a noticeable time, delaying every other request handled by the same process. Impact When a page is rendered with payload extraction (any route covered by an isr, swr or cache route rule), Nuxt builds the _payload.json URL from the raw request…
Read on GitHub Advisory Database
On 11/17/2026, 12:00 AM, GitHub Advisory Database published "Nuxt payload URL generation has quadratic cost for repeated slashes in the request path" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js, Nuxt. CVE: CVE-2026-128074.