Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nuxt/nitro-server
  4. ›
  5. CVE-2026-46342

CVE-2026-46342: Nuxt: `__nuxt_island` endpoint does not bind responses to request props, enabling shared-cache poisoning

May 19, 2026

The /__nuxt_island/* endpoint accepts attacker-controlled props query/body parameters and renders any island component without verifying that the URL-resident hash (<Name>_<hashId>.json) was actually issued for those inputs by <NuxtIsland>. The hash is computed and embedded client-side but never validated server-side, so the same path can return materially different responses depending on the query.

Island components are documented as rendering independently of route context - page middleware does not apply to them, and they are intentionally cacheable as a function of their props. This advisory does not treat that contract as a vulnerability. It treats the absence of a binding between the URL the cache keys on and the response served at that URL as one.

References

  • github.com/advisories/GHSA-g8wj-3cr3-6w7v
  • github.com/nuxt/nuxt/pull/35077
  • github.com/nuxt/nuxt/security/advisories/GHSA-g8wj-3cr3-6w7v
  • nvd.nist.gov/vuln/detail/CVE-2026-46342

Code Behaviors & Features

Detect and mitigate CVE-2026-46342 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.20.0 before 3.21.6, all versions starting from 4.2.0 before 4.4.6

Fixed versions

  • 3.21.6
  • 4.4.6

Solution

Upgrade to versions 3.21.6, 4.4.6 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data
  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@nuxt/nitro-server/CVE-2026-46342.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 00:19:32 +0000.