Advisories for Pypi/Djangocms-Versioning package

2026

djangocms-versioning: Authorization Bypass Through User-Controlled Key and Missing Authorization

The discard and edit_redirect version transitions did not enforce a per-object change-permission check, while the sibling transitions (archive, publish, unpublish, revert) all did. As a result a low-privileged staff user could discard (delete) any draft version — and thereby the underlying content object — of content they have no change permission on, and could create an editable draft off any published version, by supplying a version primary key they should …