Description
Nuxt is an open-source web development framework for Vue.js. From 3.4.0 until 3.21.10 and 4.5.1, an attacker can inject a template key through /__nuxt_island/ props into a dynamic component when `vue.runtimeCompiler: true` is enabled, causing template execution in the Nitro process. This issue is fixed in 3.21.10 and 4.5.1.
Published: 2026-08-05
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from Nuxt’s handling of dynamic Vue components. When the configuration option `vue.runtimeCompiler: true` is enabled, a malicious actor can embed a template key inside the payload sent to the `/__nuxt_island/` endpoint. The Nitro server processes this key as a Vue template and executes it, giving the attacker remote code execution capabilities. The flaw is characterized by CWE‑74 and CWE‑94.

Affected Systems

Nuxt Framework (Nuxt) versions 3.4.0 through 3.21.9 and 4.5.0 are impacted. These releases from the Nuxt open‑source project enable the vulnerable runtime compiler setting and are fixed by upgrading to Nuxt 3.21.10 or Nuxt 4.5.1 and later.

Risk and Exploitability

The CVSS score of 8.1 places this issue in the high‑severity range, indicating a significant risk if exploited. The EPSS score is not available, so the exact probability of exploitation cannot be quantified. The vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed exploitation at the time of reporting. Attackers would need to send crafted request data to the exposed `/__nuxt_island/` endpoint while the runtime compiler is active, which allows arbitrary code execution on the server.

Generated by OpenCVE AI on August 5, 2026 at 22:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Nuxt 3.21.10 or later, or Nuxt 4.5.1 or later, which contain the fix for runtime template injection.
  • If an immediate upgrade is not possible, set the `vue.runtimeCompiler` configuration option to `false` to disable runtime template compilation and remove the injection vector.
  • Restrict and authenticate access to the `/__nuxt_island/` endpoint and audit third‑party plugins that may enable runtime compiler functionality.

Generated by OpenCVE AI on August 5, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9473-5f9j-94wq Nuxt: Server-Side Remote Code Execution via Runtime Template Injection in Nuxt Server Island Props
History

Wed, 05 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Nuxt
Nuxt nuxt
Vendors & Products Nuxt
Nuxt nuxt

Wed, 05 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Description Nuxt is an open-source web development framework for Vue.js. From 3.4.0 until 3.21.10 and 4.5.1, an attacker can inject a template key through /__nuxt_island/ props into a dynamic component when `vue.runtimeCompiler: true` is enabled, causing template execution in the Nitro process. This issue is fixed in 3.21.10 and 4.5.1.
Title Nuxt: Server-Side Remote Code Execution via Runtime Template Injection in Nuxt Server Island Props
Weaknesses CWE-74
CWE-94
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T21:29:51.370Z

Reserved: 2026-08-05T18:14:42.065Z

Link: CVE-2026-71320

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T23:00:05Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')