Medium · 6.5 React GHSA-6gq8-jgmh-3ffp CVE-2026-114131 CVE-2026-114133 GHSA-xfq5-w38q-pc2x
Nuxt Fixes Two Vulnerabilities: Route Rule Bypass and Server Island XSS
Nuxt patched two vulnerabilities: a route-matching flaw that could let unauthenticated requests bypass access middleware via percent-encoded URLs, and a sanitisation gap in server islands that could enable stored cross-site scripting.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
Nuxt, an open-source web framework for Vue.js, has published fixes for two separate vulnerabilities disclosed in the same advisory round. The first allows protected pages to be reached without triggering access middleware by manipulating how a request path is encoded. The second allows sanitisation safeguards to be bypassed in a specific rendering feature, enabling stored cross-site scripting. Both issues have been addressed by the Nuxt project with new releases.
What happened
Two vulnerabilities were identified in Nuxt. The first, tracked as CVE-2026-114131 (GHSA-6gq8-jgmh-3ffp), involves route rules being matched against the raw request path while Nuxt's route resolution separately decodes dynamic and catch-all parameters. This mismatch means a percent-encoded URL segment can resolve to a protected page without matching the routeRules entry meant to protect it. As a result, appMiddleware can be skipped during server-side rendering, and app-manifest rules such as redirect, appLayout, ssr, prerender, and payload flags (derived from cache, isr, and swr settings) can also be affected. The second vulnerability, CVE-2026-114133 (GHSA-xfq5-w38q-pc2x), affects Nuxt's server island renderer. It serializes raw useHeadSafe input into the island response without preserving the marker that identifies it as sanitised-safe input. NuxtIsland then inserts that input into the page head as an ordinary entry, bypassing the allowlist that normally strips event-handler attributes and executable script content.
Technical cause
CVE-2026-114131 stems from an interpretation conflict (CWE-436): one part of Nuxt's routing logic compares against the raw, encoded request path, while another part resolves dynamic and catch-all route parameters after decoding. This inconsistency lets an attacker craft a percent-encoded path that is treated as a different route by the two comparisons. CVE-2026-114133 is a case of improper neutralization of input during web page generation (CWE-79). The useHeadSafe API is designed to sanitise head entries via an allowlist, but the server-island rendering path does not preserve the internal marker that flags input as already-sanitised, so NuxtIsland treats the raw data as trusted and inserts it unfiltered.
Why it matters
For CVE-2026-114131, an unauthenticated requester may be able to receive a gated page and its server-side rendered data without passing through the access middleware that was intended to protect it. This can expose content or data that should require authentication or other gating logic. For CVE-2026-114133, an application that passes attacker-controlled data to useHeadSafe in a .server.vue component or page, or in a component rendered through NuxtIsland, can end up rendering content that the sanitisation allowlist was supposed to strip, including event-handler attributes or executable script content. This results in stored cross-site scripting in the application's own origin.
Who is affected
Applications built on Nuxt that rely on routeRules combined with appMiddleware for access control on dynamic or catch-all routes are potentially affected by CVE-2026-114131. Applications that use useHeadSafe with attacker-influenced input inside server-rendered components (.server.vue) or components rendered via NuxtIsland are potentially affected by CVE-2026-114133. Both issues affect the Nuxt npm package.
Affected versions
CVE-2026-114131 affects Nuxt from 3.11.0 up to but not including 3.21.4, and from 4.0.0 up to but not including 4.4.4. CVE-2026-114133 affects Nuxt from 3.13.0 up to but not including 4.6.2.
Fixes and mitigation
CVE-2026-114131 is fixed in Nuxt 3.21.4 and 4.4.4. CVE-2026-114133 is fixed in Nuxt 4.6.2. No workarounds beyond upgrading are described in the available information.
Recommended action
Upgrade Nuxt to version 3.21.4 or 4.4.4 to address CVE-2026-114131, and to version 4.6.2 to address CVE-2026-114133. Since 4.6.2 postdates 4.4.4, projects on the 4.x line should upgrade directly to 4.6.2 to resolve both issues; projects on the 3.x line should upgrade to 3.21.4 for CVE-2026-114131 and review their use of useHeadSafe with server islands, since no 3.x fixed version is listed for CVE-2026-114133 in the available information. Review any use of routeRules with appMiddleware on dynamic or catch-all routes, and audit any use of useHeadSafe with externally influenced input in server-rendered or island-rendered components.
PatchBriefing score
6.5 / 10 · Medium
Official CVSS: 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS 0.0038 (24 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- nuxt >= 3.11.0, < 3.21.4
- vulnerable
- nuxt ≥ 3.11.0 < 3.21.4
- vulnerable
- ≥ 3.21.4
- patched
- ≥ 4.4.4
- patched
- nuxt >= 3.13.0, < 4.6.2
- vulnerable
- nuxt ≥ 3.13.0 < 4.6.2
- vulnerable
- ≥ 4.6.2
- patched
Reported fixes
CVE-2026-114131 is fixed in Nuxt 3.21.4 and 4.4.4. CVE-2026-114133 is fixed in Nuxt 4.6.2. No workarounds beyond upgrading are described in the available information.
How this was built
6 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
NVD (NIST) database
-
GitHub Advisory Database database
-
GitHub Advisory Database database
-
OSV.dev database
-
OSV.dev database
Revision history
- Published
- Generated
- Published
- Generated