# CVE-2026-56317: Nuxt - Cross-Site Scripting via NoScript Component Slot Content

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-06-16T23:38:47.000Z
- Modified: 2026-11-08T14:05:58.678Z
- Also known as: GHSA-m3q2-p4fw-w38m
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Nuxt Nuxt: from 4.0.0 before 4.4.7; before 3.21.7 (not affected: 4.4.7; 3.21.7)
- nuxt (npm): from 4.0.0 before 4.4.7; before 3.21.7

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m> (mitigation, patch, vendor-advisory, web)
- <https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e> (patch, web)
- <https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e> (patch, web)
- <https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56317> (advisory)
- <https://github.com/nuxt/nuxt> (package)

## Sources

- CVE List: [CVE-2026-56317](https://www.cve.org/CVERecord?id=CVE-2026-56317), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-m3q2-p4fw-w38m](https://github.com/advisories/GHSA-m3q2-p4fw-w38m), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56317](https://nvd.nist.gov/vuln/detail/CVE-2026-56317), Public domain, modified 2026-06-24

---

Page: https://cve.day/CVE-2026-56317 · Whole record: https://cve.day/CVE-2026-56317.json · Rebuilt by cve.day 2026-11-25T22:59:25.305Z
