{"id":"CVE-2026-54625","state":"PUBLISHED","title":"django CMS: Page cache ignores plugin-declared Vary headers (disclosure & poisoning)","description":"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.","publishedAt":"2026-08-20T17:58:03.255Z","updatedAt":"2026-08-20T19:45:17.403Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["django-cms django-cms"],"affected":[{"vendor":"django-cms","product":"django-cms","versions":[{"version":"< 5.0.8","status":"affected"},{"version":">= 5.1.0a1, < 5.1.0","status":"affected"}]}],"references":["https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x","https://github.com/django-cms/django-cms/pull/8646","https://github.com/django-cms/django-cms/pull/8647","https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa","https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f","https://github.com/django-cms/django-cms/releases/tag/5.0.8","https://github.com/django-cms/django-cms/releases/tag/5.1.0"],"weaknesses":["CWE-349","CWE-524"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54625.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54625","state":"PUBLISHED","datePublished":"2026-08-20T17:58:03.255Z","dateUpdated":"2026-08-20T19:45:17.403Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T20:07:02.185Z"},"containers":{"cna":{"title":"django CMS: Page cache ignores plugin-declared Vary headers (disclosure & poisoning)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"django-cms","product":"django-cms","versions":[{"version":"< 5.0.8","status":"affected"},{"version":">= 5.1.0a1, < 5.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x","name":"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","name":"https://github.com/django-cms/django-cms/pull/8646","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/pull/8647","name":"https://github.com/django-cms/django-cms/pull/8647","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa","name":"https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f","name":"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","name":"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","name":"https://github.com/django-cms/django-cms/releases/tag/5.1.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-349","lang":"en","description":"CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-524","lang":"en","description":"CWE-524: Use of Cache Containing Sensitive Information","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T17:58:45.182Z"},"source":{"advisory":"GHSA-fwjf-m4qw-9f2x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-20T19:45:03.782972Z","id":"CVE-2026-54625","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-20T19:45:17.403Z"}}]}}}