# CVE-2026-54625: django CMS: Page cache ignores plugin-declared Vary headers (disclosure & poisoning)

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-20T17:58:03.255Z
- Modified: 2026-10-26T10:10:00.140Z
- Also known as: GHSA-fwjf-m4qw-9f2x, PYSEC-2026-3824
- Weaknesses: CWE-349, CWE-524
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- django-cms django-cms: < 5.0.8; >= 5.1.0a1, < 5.1.0
- django-cms (PyPI): before 5.0.8

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x> (web)
- <https://github.com/django-cms/django-cms/pull/8646> (web)
- <https://github.com/django-cms/django-cms/pull/8647> (web)
- <https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa> (web)
- <https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f> (web)
- <https://github.com/django-cms/django-cms/releases/tag/5.0.8> (web)
- <https://github.com/django-cms/django-cms/releases/tag/5.1.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54625> (advisory)
- <https://github.com/django-cms/django-cms> (package)
- <https://pypi.org/project/django-cms> (package)
- <https://github.com/advisories/GHSA-fwjf-m4qw-9f2x> (advisory)

## Sources

- CVE List: [CVE-2026-54625](https://www.cve.org/CVERecord?id=CVE-2026-54625), CVE Terms of Use, modified 2026-08-20
- GitHub Advisory Database: [GHSA-fwjf-m4qw-9f2x](https://github.com/advisories/GHSA-fwjf-m4qw-9f2x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54625](https://nvd.nist.gov/vuln/detail/CVE-2026-54625), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-3824](https://osv.dev/vulnerability/PYSEC-2026-3824), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-54625 · Whole record: https://cve.day/CVE-2026-54625.json · Rebuilt by cve.day 2026-11-25T22:59:34.677Z
