All vulnerabilities

Servers and applications

CVE-2026-71320

Server-Side Remote Code Execution via Runtime Template Injection in Nuxt Server Island Props

Severity
High 8.1
Published
27 Jul 2026
Last changed
27 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.21.10, 4.5.1
Exploit chance
0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Injection (CWE-74)Code injection (CWE-94)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-9473-5f9j-94wq
Sources
Project advisories (GitHub)

Description

Nuxt server islands accept props via the /__nuxt_island/ endpoint. When the application has a server island component that forwards props into Vue's dynamic component resolution (, resolveDynamicComponent, or h()), an attacker can inject a template` key into the island props to achieve server-side remote code execution in the Nitro process.

Vue's runtime template compiler compiles and executes the attacker-controlled template in the server process. The same primitive also works on the client side if vue.runtimeCompiler is explicitly enabled.

Some component libraries expose a polymorphic as / asChild prop that forwards its value into ; @nuxt/ui (via reka-ui) is a widely used example. An application is affected if such a component receives the attacker-controlled value.

From nuxt/nuxt's security advisory. Shortened; the full text is there.

Workarounds

Upgrade to [email protected] or [email protected]. If you cannot immediately upgrade, you can mitigate by:

  • Do not forward island props into , resolveDynamicComponent, or h()` without sanitization.
  • As a defense-in-depth measure, deploy a WAF rule on /__nuxt_island/ that URL-decodes and JSON-parses the props value and blocks any object property named template or render in the decoded island props, inspecting both query and body for all methods.
Workarounds as given by nuxt/nuxt's security advisory.

Affected software

SoftwareAffected versions
NuxtServers and applications · github:nuxt/nuxt
  • From 3.4.0 before 3.21.10
  • From 4.0.0 before 4.5.1

About Nuxt

JavaScript framework

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Weekly downloads (npm)
3,404,733npm, 15 Nov 2026
GitHub stars
61,078GitHub, 15 Nov 2026
Forks
5,837GitHub, 15 Nov 2026
Latest release
v4.6.4GitHub, 15 Nov 2026
Released
2 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
JavaScript, Vue.jsWikidata
First published on GitHub
26 Oct 2016GitHub

Release lines

ReleaseLatestSecurity fixes
44.6.4Yes
33.21.11Ended 31 Jul 2026
22.18.1Ended 30 Jun 2024
11.4.5Ended 21 Sept 2019

From endoflife.date.

References