{"id":"CVE-2026-54624","aliases":["EUVD-2026-63567","GHSA-vgxm-h9gx-h9w7","PYSEC-2026-3826"],"status":"published","title":"django CMS: Structure endpoint bypasses page-view permission","description":"django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, render_object_structure in cms/views.py renders cms/toolbar/structure.html for a PageContent object without calling user_can_view_page(). Any staff account can request a restricted page’s structure when CMS_PERMISSION is enabled and the page has view restrictions or CMS_PUBLIC_FOR is set to staff. The response exposes plugin get_short_description() values, including link names, URLs, and text snippets, rather than only the page shape. This issue is fixed in versions 5.0.8.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00415,"percentile":0.36311,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-285","CWE-862"],"published":"2026-08-20T18:04:38Z","modified":"2026-10-28T02:30:55Z","fixes":[{"ecosystem":"PyPI","package":"django-cms","fixed_in":["5.0.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django-cms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.8"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django-cms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.8"}]}],"versions":["2.0.1","2.0.2","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2","2.2.1","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.4.0","2.4.1","2.4.2","2.4.3","3.0","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.0.17","3.0.18","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.0.b1","3.1.0rc1","3.1.0rc2","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.10.0","3.10.0rc1","3.10.0rc2","3.10.1","3.10.1rc1","3.11.0","3.11.1","3.11.10","3.11.11","3.11.1rc1","3.11.2","3.11.3","3.11.4","3.11.5","3.11.6","3.11.7","3.11.8","3.11.9","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3.0","3.3.0rc2","3.3.0rc3","3.3.0rc4","3.3.1","3.3.2","3.3.3","3.3.4","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.6.0","3.6.0rc1","3.6.0rc3","3.6.1","3.7.0","3.7.0rc1","3.7.0rc2","3.7.1","3.7.2","3.7.3","3.7.4","3.8.0","3.8.0rc1","3.8.1","3.8.2","3.9.0","3.9.0rc1","3.9.0rc2","3.9.0rc3","4.1.0","4.1.0rc1","4.1.0rc2","4.1.0rc3","4.1.0rc4","4.1.0rc5","4.1.1","4.1.10","4.1.11","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.9","5.0.0","5.0.0a1","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7"]},{"source":"osv","ecosystem":"PyPI","package":"django-cms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.8"}]}],"versions":["2.0.1","2.0.2","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2","2.2.1","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.4.0","2.4.1","2.4.2","2.4.3","3.0","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.0.17","3.0.18","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.0.b1","3.1.0rc1","3.1.0rc2","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.10.0","3.10.0rc1","3.10.0rc2","3.10.1","3.10.1rc1","3.11.0","3.11.1","3.11.10","3.11.11","3.11.1rc1","3.11.2","3.11.3","3.11.4","3.11.5","3.11.6","3.11.7","3.11.8","3.11.9","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3.0","3.3.0rc2","3.3.0rc3","3.3.0rc4","3.3.1","3.3.2","3.3.3","3.3.4","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.6.0","3.6.0rc1","3.6.0rc3","3.6.1","3.7.0","3.7.0rc1","3.7.0rc2","3.7.1","3.7.2","3.7.3","3.7.4","3.8.0","3.8.0rc1","3.8.1","3.8.2","3.9.0","3.9.0rc1","3.9.0rc2","3.9.0rc3","4.1.0","4.1.0rc1","4.1.0rc2","4.1.0rc3","4.1.0rc4","4.1.0rc5","4.1.1","4.1.10","4.1.11","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.9","5.0.0","5.0.0a1","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7"]}],"products":[{"vendor":"django cms association","product":"django-cms"},{"vendor":"django-cms","product":"django-cms"}],"references":[{"url":"https://github.com/django-cms/django-cms/security/advisories/GHSA-vgxm-h9gx-h9w7","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/django-cms/django-cms/pull/8645","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/django-cms/django-cms/commit/7642a98ab3170793c0b27b4125dd1f3d318b8a1c","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/advisories/GHSA-vgxm-h9gx-h9w7","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54624.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54624","tags":["advisory"]},{"url":"https://github.com/django-cms/django-cms","tags":["package"]},{"url":"https://pypi.org/project/django-cms","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-54624","title":"django CMS: Structure endpoint bypasses page-view permission","description":"django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, render_object_structure in cms/views.py renders cms/toolbar/structure.html for a PageContent object without calling user_can_view_page(). Any staff account can request a restricted page’s structure when CMS_PERMISSION is enabled and the page has view restrictions or CMS_PUBLIC_FOR is set to staff. The response exposes plugin get_short_description() values, including link names, URLs, and text snippets, rather than only the page shape. This issue is fixed in versions 5.0.8.","status":"published","published":"2026-08-20T18:04:38.766Z","modified":"2026-08-20T19:46:10.95Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T13:38:09.774038Z"}],"euvd":[{"id":"EUVD-2026-63567","description":"django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, render_object_structure in cms/views.py renders cms/toolbar/structure.html for a PageContent object without calling user_can_view_page(). Any staff account can request a restricted page’s structure when CMS_PERMISSION is enabled and the page has view restrictions or CMS_PUBLIC_FOR is set to staff. The response exposes plugin get_short_description() values, including link names, URLs, and text snippets, rather than only the page shape. This issue is fixed in versions 5.0.8.","status":"published","published":"2026-08-20T18:04:38Z","modified":"2026-08-20T19:46:10Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T18:01:38.846525Z"}],"ghsa":[{"id":"GHSA-vgxm-h9gx-h9w7","title":"django CMS: Structure endpoint bypasses page-view permission","description":"### Summary\nThe structure-board endpoint (`render_object_structure`) renders a page's plugin structure without verifying that the requesting user is allowed to view the page. The edit and preview endpoints enforce this via `render_page()`, but the structure endpoint does not, allowing a low-privileged staff user to read the plugin structure of a view-restricted page.\n\n### Details\n`render_object_structure` (in `cms/views.py`) loads the `PageContent` object and renders `cms/toolbar/structure.html` directly. Unlike `render_object_endpoint` (used by edit/preview), which renders through `render_pagecontent` → `render_page` and calls `user_can_view_page(request.user, page)` (returning 404 when the user may not view the page), the structure endpoint performs no page-level authorization.\n\nThe rendered structure board includes each plugin's `get_short_description()`  (e.g. link names/URLs, text snippets), so the content of a restricted page is disclosed, not just its shape.\n\n### Impact\nA staff user (any account with `is_staff=True`) who lacks view permission on a  view-restricted page can retrieve that page's plugin structure and short descriptions by requesting the structure endpoint with the page's content-type id and object id.\n\nThis only applies when `CMS_PERMISSION=True` and the page has view restrictions (or `CMS_PUBLIC_FOR='staff'`). Sites without per-page view restrictions are not affected.\n\n### Patches\nFixed in 5.0.8: the structure endpoint now enforces `user_can_view_page()` for `PageContent` objects, matching edit/preview.\n\n### Workarounds\nNone other than restricting staff access. Upgrade is recommended.\n\n### Credits\nReported by the security team at the University of Sydney ([@reporter]).","status":"published","published":"2026-08-20T18:42:16Z","modified":"2026-08-20T18:42:19Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T14:41:04.755504Z"}],"nvd":[{"id":"CVE-2026-54624","description":"django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, render_object_structure in cms/views.py renders cms/toolbar/structure.html for a PageContent object without calling user_can_view_page(). Any staff account can request a restricted page’s structure when CMS_PERMISSION is enabled and the page has view restrictions or CMS_PUBLIC_FOR is set to staff. The response exposes plugin get_short_description() values, including link names, URLs, and text snippets, rather than only the page shape. This issue is fixed in versions 5.0.8.","status":"published","published":"2026-08-20T19:16:55.583Z","modified":"2026-10-26T10:10:00.14Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T14:12:40.302911Z"}],"osv":[{"id":"CVE-2026-54624","title":"django CMS: Structure endpoint bypasses page-view permission","description":"django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, render_object_structure in cms/views.py renders cms/toolbar/structure.html for a PageContent object without calling user_can_view_page(). Any staff account can request a restricted page’s structure when CMS_PERMISSION is enabled and the page has view restrictions or CMS_PUBLIC_FOR is set to staff. The response exposes plugin get_short_description() values, including link names, URLs, and text snippets, rather than only the page shape. This issue is fixed in versions 5.0.8.","status":"published","published":"2026-08-20T18:04:38.766Z","modified":"2026-10-28T02:30:55.751424115Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T15:45:10.818486Z"},{"id":"GHSA-vgxm-h9gx-h9w7","title":"django CMS: Structure endpoint bypasses page-view permission","description":"### Summary\nThe structure-board endpoint (`render_object_structure`) renders a page's plugin structure without verifying that the requesting user is allowed to view the page. The edit and preview endpoints enforce this via `render_page()`, but the structure endpoint does not, allowing a low-privileged staff user to read the plugin structure of a view-restricted page.\n\n### Details\n`render_object_structure` (in `cms/views.py`) loads the `PageContent` object and renders `cms/toolbar/structure.html` directly. Unlike `render_object_endpoint` (used by edit/preview), which renders through `render_pagecontent` → `render_page` and calls `user_can_view_page(request.user, page)` (returning 404 when the user may not view the page), the structure endpoint performs no page-level authorization.\n\nThe rendered structure board includes each plugin's `get_short_description()`  (e.g. link names/URLs, text snippets), so the content of a restricted page is disclosed, not just its shape.\n\n### Impact\nA staff user (any account with `is_staff=True`) who lacks view permission on a  view-restricted page can retrieve that page's plugin structure and short descriptions by requesting the structure endpoint with the page's content-type id and object id.\n\nThis only applies when `CMS_PERMISSION=True` and the page has view restrictions (or `CMS_PUBLIC_FOR='staff'`). Sites without per-page view restrictions are not affected.\n\n### Patches\nFixed in 5.0.8: the structure endpoint now enforces `user_can_view_page()` for `PageContent` objects, matching edit/preview.\n\n### Workarounds\nNone other than restricting staff access. Upgrade is recommended.\n\n### Credits\nReported by the security team at the University of Sydney ([@reporter]).","status":"published","published":"2026-08-20T18:42:16Z","modified":"2026-09-10T12:25:29.91544272Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T15:46:57.348035Z"},{"id":"PYSEC-2026-3826","title":"django CMS: Structure endpoint bypasses page-view permission","description":"### Summary\nThe structure-board endpoint (`render_object_structure`) renders a page's plugin structure without verifying that the requesting user is allowed to view the page. The edit and preview endpoints enforce this via `render_page()`, but the structure endpoint does not, allowing a low-privileged staff user to read the plugin structure of a view-restricted page.\n\n### Details\n`render_object_structure` (in `cms/views.py`) loads the `PageContent` object and renders `cms/toolbar/structure.html` directly. Unlike `render_object_endpoint` (used by edit/preview), which renders through `render_pagecontent` → `render_page` and calls `user_can_view_page(request.user, page)` (returning 404 when the user may not view the page), the structure endpoint performs no page-level authorization.\n\nThe rendered structure board includes each plugin's `get_short_description()`  (e.g. link names/URLs, text snippets), so the content of a restricted page is disclosed, not just its shape.\n\n### Impact\nA staff user (any account with `is_staff=True`) who lacks view permission on a  view-restricted page can retrieve that page's plugin structure and short descriptions by requesting the structure endpoint with the page's content-type id and object id.\n\nThis only applies when `CMS_PERMISSION=True` and the page has view restrictions (or `CMS_PUBLIC_FOR='staff'`). Sites without per-page view restrictions are not affected.\n\n### Patches\nFixed in 5.0.8: the structure endpoint now enforces `user_can_view_page()` for `PageContent` objects, matching edit/preview.\n\n### Workarounds\nNone other than restricting staff access. Upgrade is recommended.\n\n### Credits\nReported by the security team at the University of Sydney ([@reporter]).","status":"published","published":"2026-09-10T09:44:52.426487Z","modified":"2026-09-10T12:15:03.052573575Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:57.255153Z"}]}}
