{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54625","id":"CVE-2026-54625","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","descriptionLong":"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.","published":"2026-08-20T17:58:03.255Z","updated":"2026-10-28T02:30:30.352312200Z","reserved":"2026-06-15T20:07:02.185Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["django-cms"],"affectedProducts":[{"vendor":"django-cms","product":"django-cms","defaultStatus":null,"versions":[{"version":"< 5.0.8","status":"affected"},{"version":">= 5.1.0a1, < 5.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django-cms","purl":"pkg:pypi/django-cms","ranges":["<5.0.8"],"fixed":["5.0.8"],"advisory":"GHSA-fwjf-m4qw-9f2x"}],"cwes":["CWE-349","CWE-524"],"aliases":["GHSA-fwjf-m4qw-9f2x","PYSEC-2026-3824"],"references":[{"url":"https://github.com/django-cms/django-cms/security/advisories/GHSA-fwjf-m4qw-9f2x","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/django-cms/django-cms/pull/8646","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/django-cms/django-cms/pull/8647","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/django-cms/django-cms/commit/8758714b865ffa79c6bcd0e5c503958ea48885aa","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/django-cms/django-cms/commit/d5dc1efa18d157445491c4b12c2dd1efd56f439f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/django-cms/django-cms/releases/tag/5.0.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/django-cms/django-cms/releases/tag/5.1.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54625.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54625","tags":["advisory"]},{"url":"https://github.com/django-cms/django-cms","tags":["package"]},{"url":"https://pypi.org/project/django-cms","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fwjf-m4qw-9f2x","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0018,"epssPercentile":0.07696,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54625","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54625","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54625","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fwjf-m4qw-9f2x","ok":true,"note":"GHSA-fwjf-m4qw-9f2x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54625","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}