CVE-2026-54625 django CMS: Page cache ignores plugin-declared Vary headers (disclosure & poisoning)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi django-cms(PyPI) | < 5.0.8; = 2.0.1; = 2.0.2; = 2.1.1 +137 more | 5.0.8 | Fixed |
| django-cms | = < 5.0.8; = >= 5.1.0a1, < 5.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django-cms(PyPI) | < 5.0.8 | 5.0.8 |
| pypi django-cms(PyPI) | = 2.0.1 | No fix listed |
| pypi django-cms(PyPI) | = 2.0.2 | No fix listed |
| pypi django-cms(PyPI) | = 2.1.1 | No fix listed |
| pypi django-cms(PyPI) | = 2.1.2 | No fix listed |
| pypi django-cms(PyPI) | = 2.1.3 | No fix listed |
| pypi django-cms(PyPI) | = 2.1.4 | No fix listed |
| pypi django-cms(PyPI) | = 2.1.5 | No fix listed |
| pypi django-cms(PyPI) | = 2.2 | No fix listed |
| pypi django-cms(PyPI) | = 2.2.1 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.1 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.2 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.3 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.4 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.5 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.6 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.7 | No fix listed |
| pypi django-cms(PyPI) | = 2.3.8 | No fix listed |
| pypi django-cms(PyPI) | = 2.4.0 | No fix listed |
| pypi django-cms(PyPI) | = 2.4.1 | No fix listed |
| pypi django-cms(PyPI) | = 2.4.2 | No fix listed |
| pypi django-cms(PyPI) | = 2.4.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.10 | No fix listed |
Show 118 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django-cms(PyPI) | = 3.0.11 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.12 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.13 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.14 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.15 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.16 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.17 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.18 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.5 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.6 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.7 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.8 | No fix listed |
| pypi django-cms(PyPI) | = 3.0.9 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.0.b1 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.0rc2 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.5 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.6 | No fix listed |
| pypi django-cms(PyPI) | = 3.1.7 | No fix listed |
| pypi django-cms(PyPI) | = 3.10.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.10.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.10.0rc2 | No fix listed |
| pypi django-cms(PyPI) | = 3.10.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.10.1rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.10 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.11 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.1rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.5 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.6 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.7 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.8 | No fix listed |
| pypi django-cms(PyPI) | = 3.11.9 | No fix listed |
| pypi django-cms(PyPI) | = 3.2.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.2.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.2.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.2.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.2.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.2.5 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.0rc2 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.0rc3 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.0rc4 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.3.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.5 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.6 | No fix listed |
| pypi django-cms(PyPI) | = 3.4.7 | No fix listed |
| pypi django-cms(PyPI) | = 3.5.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.5.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.5.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.5.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.5.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.6.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.6.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.6.0rc3 | No fix listed |
| pypi django-cms(PyPI) | = 3.6.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.0rc2 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.3 | No fix listed |
| pypi django-cms(PyPI) | = 3.7.4 | No fix listed |
| pypi django-cms(PyPI) | = 3.8.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.8.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.8.1 | No fix listed |
| pypi django-cms(PyPI) | = 3.8.2 | No fix listed |
| pypi django-cms(PyPI) | = 3.9.0 | No fix listed |
| pypi django-cms(PyPI) | = 3.9.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 3.9.0rc2 | No fix listed |
| pypi django-cms(PyPI) | = 3.9.0rc3 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.0 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.0rc1 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.0rc2 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.0rc3 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.0rc4 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.0rc5 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.1 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.10 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.11 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.2 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.3 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.4 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.5 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.6 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.7 | No fix listed |
| pypi django-cms(PyPI) | = 4.1.9 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.0 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.0a1 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.1 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.2 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.3 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.4 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.5 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.6 | No fix listed |
| pypi django-cms(PyPI) | = 5.0.7 | No fix listed |
| django-cms | = < 5.0.8 | No fix listed |
| django-cms | = >= 5.1.0a1, < 5.1.0 | No fix listed |
References
- https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/django-cms/django-cms/pull/8646 patch
- https://github.com/django-cms/django-cms/pull/8647 patch
- https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa patch
- https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f patch
- github.com product
- https://github.com/django-cms/django-cms/releases/tag/5.0.8
- https://github.com/django-cms/django-cms/releases/tag/5.1.0
- pypi.org product
- github.com vendor-advisory
- ENISA EUVD EUVD-2026-63564 third-party-advisory