django CMS: Page cache ignores plugin-declared Vary headers (disclosure & poisoning)
Summary
| CVE | CVE-2026-54625 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-20 18:16:28 UTC |
| Updated | 2026-08-20 20:17:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.8 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS: 0.001470000 probability, percentile 0.044790000 (date 2026-08-22)
Problem Types: CWE-349 | CWE-524 | CWE-349 CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data | CWE-524 CWE-524: Use of Cache Containing Sensitive Information
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Django-cms | Django-cms | affected < 5.0.8 | Not specified |
| CNA | Django-cms | Django-cms | affected >= 5.1.0a1, < 5.1.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x | [email protected] | github.com | |
| github.com/django-cms/django-cms/releases/tag/5.1.0 | [email protected] | github.com | |
| github.com/django-cms/django-cms/pull/8647 | [email protected] | github.com | |
| github.com/django-cms/django-cms/releases/tag/5.0.8 | [email protected] | github.com | |
| github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958e... | [email protected] | github.com | |
| github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1ef... | [email protected] | github.com | |
| github.com/django-cms/django-cms/pull/8646 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.