CVE-2026-61663: django CMS: Missing authorization in `render_object_structure` discloses non-PageContent placeholder structure to low-privileged staff

Published Aug 20, 2026
·
Updated

Summary

The django-cms frontend-editing structure endpoint

GET /<lang>/admin/cms/placeholder/object/<contenttypeid>/structure/<objectid>/

did not perform an object-level authorization check for non-PageContent objects. Any authenticated, active staff user could request the structure endpoint for a frontend-editable object (a model using PlaceholderRelationField) and read its placeholder/plugin structure, even without permission to change that object and without the cms.usestructure permission that the toolbar UI requires before offering structure mode.

PageContent objects were already protected (a page-view check added in GHSA/PR #8644); this advisory covers the remaining non-PageContent branch of the same view.

Severity

The issue is staff-gated and read-only, disclosing CMS structure metadata (placeholder slot names, plugin tree, plugin identifiers/labels, object existence) rather than write access or arbitrary field data.

Affected versions

- django-cms >= 4.0.0, <= 5.0.x and 5.1.0a1 (the vulnerable non-PageContent branch was introduced with the frontend-editing endpoints in 4.0)

Patched versions

- django-cms TODO: 5.0.9

Preconditions

- An authenticated, active staff account (isstaff=True). - The deployment exposes a non-PageContent model with django-cms placeholders / frontend editing (e.g. via PlaceholderRelationField). - The attacker can guess or enumerate the target contenttypeid and object id. - The attacker needs no model/object change permission and no cms.usestructure permission.

Impact

A low-privileged staff user can read the editorial placeholder/plugin structure of non-PageContent objects they are not authorized to edit through the toolbar. Depending on the installed plugins and templates this may reveal placeholder names, plugin layout, plugin identifiers and the existence of objects owned by other staff users or teams. This is most relevant for deployments using third-party or custom django-cms apps that expose frontend-editable objects outside the page tree.

Proof of concept

Using django-cms' own test model placeholderrelationfieldapp.FancyPoll (a non-PageContent model with a PlaceholderRelationField):

python target = FancyPoll.objects.create(name="private-fancy-poll") placeholder = rescanplaceholdersforobj(target)["content"] attacker = self.createuser("lowstaff", isstaff=True, issuperuser=False) attacker has neither changefancypoll nor cms.usestructure

with self.loginusercontext(attacker): response = self.client.get(getobjectstructureurl(target, language="en"))

Before fix: HTTP 200, body contains '"placeholderid": "<pk>"' After fix: HTTP 404, structure not disclosed

Patch

renderobjectstructure now authorizes the non-PageContent branch, mirroring Placeholder.haschangepermission at the object level (honouring a custom hasplaceholderchangepermission hook, otherwise falling back to the model/object change permission) and returning 404 when the user is not authorized:

python else: contenttypeobj = contenttype.getobjectforthistype(pk=objectid) if not canchangeplaceholderobject(request.user, contenttypeobj): raise Http404

Workarounds

No configuration workaround. Deployments that do not register any non-PageContent frontend-editable model are not affected. Otherwise, upgrade to a patched release.

Credit

Reported by doanmanhducz.

Other sources

django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.9, renderobjectstructure fails to authorize non-PageContent objects that use PlaceholderRelationField. An active staff user without cms.usestructure or model-level view or change permission can request the //admin/cms/placeholder/object/<contenttypeid>/structure/<objectid>/ endpoint with guessed contenttypeid and objectid values. The response discloses placeholder slot names, plugin trees, plugin identifiers, labels, and object existence for frontend-editable objects. The fix applies usercanviewplaceholdersource to the non-PageContent branch while keeping the structure board read-only for view-only users. This issue is fixed in versions 5.0.9.

MITRE

Affected Software

2 affected componentsFixes available
django CMS django CMS<5.0.9
pip/django-cms<5.0.9
5.0.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/django-cms to a version that resolves this vulnerability.

    Fixed in 5.0.9
  2. Upgrade

    Upgrade django-cms to a version that resolves this vulnerability.

    Fixed in 5.0.9

Event History

Aug 20, 2026
CVE Published
via MITRE·06:07 PM
Data Sourced
via MITRE·06:07 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:42 PM
Data Sourced
via GitHub·06:42 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated active staff user can exploit it even if they lack cms.use_structure and do not have model-level view or change permission for the targeted object. The affected targets are non-PageContent frontend-editable objects that use PlaceholderRelationField.

2

What does an attacker need to send?

The attacker needs access to the admin endpoint and must guess valid content_type_id and object_id values for a target object. No user interaction is required.

3

What information can be exposed?

Responses can reveal whether a frontend-editable object exists, along with placeholder slot names, plugin trees, plugin identifiers, and labels. The issue does not provide integrity or availability impact according to the supplied severity vector.

4

Are view-only users still able to use the structure board after the fix?

Yes. The fix applies authorization to the non-PageContent handling while retaining read-only structure-board access for users with view-only permissions.

5

What version contains the fix?

Upgrade django CMS to version 5.0.9 or later. Versions prior to 5.0.9 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203