CVE-2026-54622
JSON

6.5medium

django CMS: Clipboard copy IDOR discloses unauthorized plugin content

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4xfr-4p46-gc6pPYSEC-2026-3820

Description

django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, the copy_plugins endpoint in cms/admin/placeholderadmin.py authorizes only the destination clipboard. The _copy_plugin_to_clipboard and _copy_placeholder_to_clipboard paths accept source_placeholder_id and source_plugin_id values but use has_copy_plugins_permission and check_source only for the requesting user’s clipboard, without validating the source placeholder. Under CMS_PERMISSION, a staff user with the global add permission for a plugin type can copy plugins from an unauthorized page or placeholder into the user’s clipboard and read secret text, link names, and URLs. This issue is fixed in versions 5.0.8.

Affected

Product or packageVersionsReported by
django-cms django-cms< 5.0.8CVE List
django-cms (PyPI)before 5.0.8GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, the copy_plugins endpoint in cms/admin/placeholderadmin.py authorizes only the destination clipboard. The _copy_plugin_to_clipboard and _copy_placeholder_to_clipboard paths accept source_placeholder_id and source_plugin_id values but use has_copy_plugins_permission and check_source only for the requesting user’s clipboard, without validating the source placeholder. Under CMS_PERMISSION, a staff user with the global add permission for a plugin type can copy plugins from an unauthorized page or placeholder into the user’s clipboard and read secret text, link names, and URLs. This issue is fixed in versions 5.0.8.

GitHub Advisory Database
Summary

The clipboard copy paths of the copy_plugins admin endpoint validate only the target (the user's own clipboard) and skip source-side authorization. A staff user can copy plugins out of a placeholder they have no permission on into their clipboard, then read the (secret) content.

Details

In cms/admin/placeholderadmin.py, _copy_plugin_to_clipboard and _copy_placeholder_to_clipboard check has_copy_plugins_permission, which only evaluates request.toolbar.clipboard.has_add_plugins_permission(...) — the clipboard belongs to the requesting user, and check_source is likewise applied only to the clipboard. The source placeholder identified by the attacker-supplied source_placeholder_id / source_plugin_id is never authorization-checked. (The placeholder-to-placeholder copy path, has_copy_from_placeholder_permission, correctly checks both sides.)

Impact

A staff user holding the global add permission for a plugin type, but with no access to a given placeholder/page, can copy that placeholder's plugins into their own clipboard and read content (e.g. link names/URLs, text) they cannot reach through the normal edit endpoints.

Requires CMS_PERMISSION=True with per-placeholder/page restrictions.

Patches

Fixed in 5.0.8: the clipboard copy paths now also verify source-side permission (has_add_plugins_permission + check_source on the source placeholder), matching placeholder-to-placeholder copy.

Workarounds

None. Upgrade is recommended.

Credits

Reported by the security team at the University of Sydney ([@reporter]).

NVD (es)

django CMS es un sistema de gestión de contenido empresarial fácil de usar y amigable para desarrolladores, impulsado por Django. Antes de la versión 5.0.8, el endpoint copy_plugins en cms/admin/placeholderadmin.py autoriza solo el portapapeles de destino. Las rutas _copy_plugin_to_clipboard y _copy_placeholder_to_clipboard aceptan los valores source_placeholder_id y source_plugin_id, pero usan has_copy_plugins_permission y check_source solo para el portapapeles del usuario solicitante, sin validar el marcador de posición de origen. Bajo CMS_PERMISSION, un usuario del personal con el permiso global de adición para un tipo de plugin puede copiar plugins desde una página o marcador de posición no autorizados al portapapeles del usuario y leer texto secreto, nombres de enlaces y URLs. Este problema está solucionado en las versiones 5.0.8.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54622 changed 2026-08-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-4xfr-4p46-gc6p changed 2026-09-10CC-BY-4.0
NVDCVE-2026-54622 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-3820 changed 2026-09-10CC-BY-4.0