Advisory published

XYZ-2026-00089

Vue server-side rendering: one request can break rendering or exhaust memory

High severity@vue/sharedfixed in 3.5.46
the timeline of this fixnpm · @vue/shared · dates in UTC

Flagged 14 days before the advisory

CyberXYZ reads the changes made to a package's source code. We spotted this security fix on 11 Nov 2026. The maintainers' advisory (GHSA-4vq7-jqv7-j374) followed 14 days later.

14 daysfrom our flag to the advisory
  1. CyberXYZ flagged the fix
  2. Advisory published

What was wrong

During server-side rendering, @vue/shared keeps per-name caches in module-level objects that live as long as the process. One cache looked names up with its own hasOwnProperty method, so a prop or attribute named hasOwnProperty replaced that method and every later render with a dynamic attribute failed. None of the caches had a size limit, so every distinct attribute, prop or style name stayed in memory.

Impacthigh

Denial of service against an SSR server. A single render can break rendering until the process restarts, and a stream of unique names grows memory until the process runs out of heap. No data is exposed and no code runs.

Who is affected

Apps that render object keys from untrusted input as props, attributes or style keys during SSR. The maintainers name Nuxt server islands as the most practical case, because they forward request props by design. Client-only rendering is not affected, and neither are apps that never render untrusted keys.

What to do

Upgrade @vue/shared to 3.5.46 (or 3.6.0-rc.15 on the 3.6 line); vue and @vue/server-renderer depend on it. Until then, filter untrusted keys against an allow list before rendering. A deny list of Object.prototype names stops the crash but not the memory growth.

npm install @vue/shared@3.5.46

Reported to the Vue maintainers by @rexpository and fixed by the Vue team. Advisory: GHSA-4vq7-jqv7-j374.

XYZ-2026-00089.json · OSV
{
  "id": "XYZ-2026-00089",
  "summary": "Vue server-side rendering: one request can break rendering or exhaust memory",
  "aliases": [
    "GHSA-4vq7-jqv7-j374"
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@vue/shared"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.46"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/vuejs/core/commit/19dd3aa7bf1c9639ed8e4c80b306387ab575763a"
    }
  ],
  "credits": [
    {
      "name": "CyberXYZ Security Threat Intel Team",
      "contact": [
        "https://cyberxyz.io"
      ],
      "type": "ANALYST"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ]
  }
}

An excerpt of this record in the OSV format, for tools that read advisories. The full record as JSON.

The bug was found and fixed by the package's maintainers. CyberXYZ flagged the fix in the source and recorded the release that carries it. All CyberXYZ Advisories · The @vue/shared report


Think this record is wrong? Tell us; we respond within 2 business days.