Vulnerability · Published Oct 21, 2026 · Assigned by GitHub_M
CVE-2026-114133Nuxt server islands render `useHeadSafe` input without sanitisation
Medium 5.4
In plain English
A medium-severity cross-site scripting in nuxt from nuxt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Nuxt is an open-source web development framework for Vue.js. From 3.13.0 until 4.6.2, the server-island renderer serializes raw useHeadSafe entry input into the island response without preserving the safe-input marker, and NuxtIsland later inserts that input into the page head as an ordinary entry. An application that passes attacker-controlled data to useHeadSafe in a .server.vue component or page, or in a component rendered through NuxtIsland, can therefore render values normally removed by the allowlist, including event-handler attributes or executable script content, resulting in stored cross-site scripting in the application origin. This issue is fixed in version 4.6.2 .
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | nuxt | 4.6.2 | GHSA-xfq5-w38q-pc2x |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-xfq5-w38q-pc2x x_refsource_CONFIRM
- https://github.com/nuxt/nuxt/commit/493565e99451a0f52330b1f6b979254a4a39e5d0 x_refsource_MISC
- https://github.com/nuxt/nuxt/releases/tag/v4.6.2 x_refsource_MISC