{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.0.8"
              },
              {
                "introduced": "5.1.0a1"
              },
              {
                "fixed": "5.1.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "60e277ccda3a9434af0204d3480d34f971de3da0"
            },
            {
              "fixed": "6da7840759c2b345a0e2fd4e796be001e681c6a4"
            },
            {
              "fixed": "d399600a1c06918757c32b4f06d69118e1a7a5bf"
            },
            {
              "fixed": "8758714b865ffa79c6bcd0e5c503958ea48885aa"
            },
            {
              "fixed": "d5dc1efa18d157445491c4b12c2dd1efd56f439f"
            }
          ],
          "repo": "https://github.com/django-cms/django-cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fwjf-m4qw-9f2x"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-349",
      "CWE-524"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54625.json"
  },
  "details": "django CMS is a content management system powered by Django. Prior to 5.0.8 and in 5.1.0a1, the django CMS page cache in cms/cache/page.py ignores request headers declared by plugins through get_vary_cache_on(). The _page_cache_key function includes the cache prefix, site, language, path, and timezone but not the declared header values. Although set_page_cache adds those names to the response Vary header, get_page_cache retrieves the first stored variant under the same header-agnostic key. When CMS_PAGE_CACHE is enabled and a plugin varies content on a header such as Country-Code, one visitor can receive another visitor’s request-specific content, and an unauthenticated attacker can prime the cache with attacker-chosen content. This issue is fixed in versions 5.0.8 and 5.1.0.",
  "id": "CVE-2026-54625",
  "modified": "2026-08-22T03:30:57.930708369Z",
  "published": "2026-08-20T17:58:03.255Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/django-cms/django-cms/releases/tag/5.0.8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/django-cms/django-cms/releases/tag/5.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54625.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54625"
    },
    {
      "type": "FIX",
      "url": "https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa"
    },
    {
      "type": "FIX",
      "url": "https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/django-cms/django-cms/pull/8646"
    },
    {
      "type": "FIX",
      "url": "https://github.com/django-cms/django-cms/pull/8647"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "django CMS: Page cache ignores plugin-declared Vary headers (disclosure \u0026 poisoning)"
}