---
id: GHSA-xppm-jmw6-fhmf
title: >-
  Duplicate Advisory: Cross-site scripting via <NoScript> slot content in Nuxt's
  head components
summary: >-
  Duplicate Advisory: Cross-site scripting via <NoScript> slot content in Nuxt's
  head components
severity: low
cwe:
  - CWE-79
vendor: nuxt
product: nuxt
ecosystem: npm
affected:
  - 'nuxt >= 4.0.0, < 4.4.7'
  - nuxt < 3.21.7
patched:
  - nuxt 4.4.7
  - nuxt 3.21.7
published: '2026-06-20'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T23:50:36Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-xppm-jmw6-fhmf'
references:
  - url: 'https://github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56317'
  - url: >-
      https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e
  - url: >-
      https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e
  - url: >-
      https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content
  - url: 'https://github.com/advisories/GHSA-xppm-jmw6-fhmf'
tags:
  - ghsa
  - npm
ingestedAt: '2026-09-10T00:26:24.579Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-m3q2-p4fw-w38m. This link is maintained to preserve external references.

### Original Description
Nuxt before 4.4.7 (and the 3.x branch before 3.21.7) contains a cross-site scripting vulnerability in the NoScript component that writes slot content to innerHTML without escaping. Attackers can inject malicious scripts through untrusted data in NoScript slots, such as route.query parameters, which execute in the document context when the noscript tag is implicitly closed by script tags.

## Affected packages

- `nuxt >= 4.0.0, < 4.4.7`
- `nuxt < 3.21.7`

## Remediation

Upgrade to a patched release:

- `nuxt 4.4.7`
- `nuxt 3.21.7`
