Impact
The vulnerability arises when the Nuxt server‑island renderer serialises raw input from the `useHeadSafe` API without preserving the safe‑input marker, causing the data to be injected into the page head as ordinary content. This flaw permits an attacker who can supply controlled data to a server‑side component to embed script code or event‑handler attributes, resulting in stored cross‑site scripting across the application, a classic CWE‑79 weakness.
Affected Systems
Nuxt framework. Versions from v3.13.0 through v4.6.2 are affected.
Risk and Exploitability
The CVSS score of 5.4 reflects moderate risk; EPSS is not available and the vulnerability is not listed in CISA KEV, indicating no known widespread exploitation. The attack vector is likely through server‑side rendering when attacker‑controlled data is passed to `useHeadSafe` in a .server.vue component or via a NuxtIsland, leading to stored XSS that can be triggered when a user visits the page. The flaw would allow arbitrary script execution within the victim’s browser at the origin of the application.
OpenCVE Enrichment
Github GHSA