{"id":"CVE-2026-54625","published":"2026-08-20T17:58:03Z","modified":"2026-08-20T19:45:17Z","title":"django CMS: Page cache ignores plugin-declared Vary headers (disclosure & poisoning)","vendor":"django-cms","product":"django-cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0018,"percentile":0.04472,"provenance":"source"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"},{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/django-cms/django-cms/pull/8646","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/pull/8647","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/releases/tag/5.0.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/releases/tag/5.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.89},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"django-cms","affectedVersions":[{"vendor":"django-cms","product":"django-cms","versions":["< 5.0.8",">= 5.1.0a1, < 5.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-20T19:45:03.782972Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django-cms","vulnerableRanges":["<5.0.8"],"patched":["5.0.8"],"from":["GHSA-fwjf-m4qw-9f2x","PYSEC-2026-3824"],"provenance":"source"}],"summary":{"text":"The django CMS page cache, in cms/cache/page.py within the django-cms product, ignores request header values that plugins declare through get_vary_cache_on(), so cached pages are keyed without them and can be served to the wrong visitor. An unauthenticated remote attacker can exploit this when the page cache is enabled and a plugin varies content on a request header such as Country-Code, either to receive another visitor's request-specific content or to prime the cache with attacker-chosen content, with the attack requiring high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:55Z"},"euvd":{"id":"EUVD-2026-63564","exploited":false,"provenance":"source"}}