Skip to content
Heist/ feed
Back to feed
MediumFix available

Next.js has cache poisoning of SSG and ISR pages in self-hosted applications

Type: advisorySources: OSV

Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.

Products
next
Affected versions
Not specified
Fixed versions
15.5.27, 16.3.8
CVEs
CVE-2026-94543
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:48 UTC · Revision 1

Source evidence

Next.js has cache poisoning of SSG and ISR pages in self-hosted applications

core-osv · Original source

Published 7 Oct 2026, 20:32 UTC

Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.

osv:GHSA-4jqv-mc3x-m676

next

Fixed versions: 15.5.27

next

Fixed versions: 16.3.8

Complete source record
{
  "id": "04f1b4d8a2e11b7efd28e0cb85480d0a0e7afd94779d7ff390c623c9141ba911",
  "url": "https://osv.dev/vulnerability/GHSA-4jqv-mc3x-m676",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Next.js has cache poisoning of SSG and ISR pages in self-hosted applications",
    "summary": "Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.",
    "evidence": "osv:GHSA-4jqv-mc3x-m676",
    "products": [
      {
        "name": {
          "value": "next",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "15.5.27",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "next",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "16.3.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "GHSA-4jqv-mc3x-m676",
      "aliases": [
        "CVE-2026-94543",
        "GHSA-4jqv-mc3x-m676"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "15.0.0"
                },
                {
                  "fixed": "15.5.27"
                }
              ]
            }
          ],
          "package": {
            "name": "next",
            "purl": "pkg:npm/next",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-4jqv-mc3x-m676/GHSA-4jqv-mc3x-m676.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "16.0.0"
                },
                {
                  "fixed": "16.3.8"
                }
              ]
            }
          ],
          "package": {
            "name": "next",
            "purl": "pkg:npm/next",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-4jqv-mc3x-m676/GHSA-4jqv-mc3x-m676.json"
          }
        }
      ],
      "modified": "2026-10-07T20:45:06.342983181Z",
      "provider": "osv",
      "references": [
        "https://github.com/vercel/next.js/security/advisories/GHSA-4jqv-mc3x-m676",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-94543",
        "https://github.com/vercel/next.js/commit/52c94abdd2ea5f416f5e8353ea8a2edd3fe311b8",
        "https://github.com/vercel/next.js/commit/719e4c67d6e92df60246f95e1d96e2dd60789a52",
        "https://github.com/vercel/next.js",
        "https://github.com/vercel/next.js/releases/tag/v15.5.27",
        "https://github.com/vercel/next.js/releases/tag/v16.3.8"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-524"
        ],
        "severity": "MODERATE",
        "github_reviewed": true,
        "nvd_published_at": "2026-10-02T16:16:52Z",
        "github_reviewed_at": "2026-10-07T20:32:06Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-94543",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 97270,
  "published_at": "2026-10-07T20:32:06+00:00"
}