CVE-2026-69139
JSON

4.3medium

djangocms-moderation: Moderation comments disclosed to non-participant staff via the admin changelist

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pj7p-238h-76pv

Description

djangocms-moderation provides an approval workflow mechanism for organizations that require content approval before publication. Prior to 2.4.0, CollectionCommentAdmin and RequestCommentAdmin in the Django admin use changelist_view and changeform_view to scope comment access through caller-controlled object identifiers and model-level view_collectioncomment or view_requestcomment permissions without invoking ModerationRequest.user_can_view_comments() or an equivalent collection participant check. An authenticated staff user with either view permission can enumerate collection or moderation-request identifiers and read full comment messages for workflows they do not participate in. The exposure affects confidentiality of internal editorial discussions; comment creation, modification, and deletion remain protected, and integrity and availability are unaffected. This issue is fixed in version 2.4.0.

Affected

Product or packageVersionsReported by
django-cms djangocms-moderation< 2.4.0CVE List
djangocms-moderation (PyPI)before 2.4.0GitHub Advisory Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-200CWE-639CWE-862

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

What each source says

CVE List

djangocms-moderation provides an approval workflow mechanism for organizations that require content approval before publication. Prior to 2.4.0, CollectionCommentAdmin and RequestCommentAdmin in the Django admin use changelist_view and changeform_view to scope comment access through caller-controlled object identifiers and model-level view_collectioncomment or view_requestcomment permissions without invoking ModerationRequest.user_can_view_comments() or an equivalent collection participant check. An authenticated staff user with either view permission can enumerate collection or moderation-request identifiers and read full comment messages for workflows they do not participate in. The exposure affects confidentiality of internal editorial discussions; comment creation, modification, and deletion remain protected, and integrity and availability are unaffected. This issue is fixed in version 2.4.0.

GitHub Advisory Database

Summary

The Django admin views for moderation comments (CollectionCommentAdmin and RequestCommentAdmin) render the full comment body but scope access only by an attacker-controlled id in the URL and Django's model-level view_*comment permission. They perform no per-object participant check. As a result, any authenticated staff user who holds the comment view permission can read the comments of any collection or moderation request — including ones they are not a participant of — simply by supplying the target object's id.

Comments are documented and intended to be private to the participants of a collection (its author and the moderators assigned to its workflow). This advisory concerns a read/write authorization asymmetry: the write paths already enforced request.user == obj.author, but the read paths did not enforce any participant check.

Details

ModerationRequest.user_can_view_comments() — the gate intended to protect comment reads (author or assigned moderator) — existed in the codebase but was never called by the comment admins. Neither CollectionCommentAdmin nor RequestCommentAdmin overrode get_queryset, and their changelist_view / changeform_view methods resolved the target object directly from the user-supplied id without an authorization check.

The changelists are hard-scoped to a single collection / moderation request (they raise Http404 when no id is present), so the exposure is not "all comments at once," but any specific collection's or request's comments can be retrieved by iterating ids.

  • list_display on both admins includes the comment message, so the full body is disclosed directly in the changelist HTML.
  • The individual changeform (.../<id>/change/) discloses the same content via a direct URL.

Impact

  • Type: Information disclosure / broken object-level authorization (IDOR).
  • Confidentiality: Comment contents of collections/requests the user does not participate in are exposed. This can include sensitive internal editorial discussion.
  • Integrity / Availability: No impact — comment creation, editing, and deletion already enforced author checks and are unaffected.
  • Who is affected: Deployments where more than one team/group of staff reviewers holds the view_collectioncomment / view_requestcomment permission. A reviewer of collection A can read the comments of collection B.

Workarounds

Restrict the view_collectioncomment and view_requestcomment model permissions to trusted users only, and avoid granting them across teams that must not see each other's moderation comments. This does not fully close the issue but reduces the set of users who can exploit it. Upgrading is the only complete fix.

Remediation

Upgrade to djangocms-moderation 2.4.1.

The fix adds a user_can_view_comments participant gate (author or assigned moderator) to both comment admins, enforced in changelist_view and changeform_view for both the collection and request comment models. A ModerationCollection.user_can_view_comments() method was added to mirror the existing ModerationRequest.user_can_view_comments(). Non-participants now receive an HTTP 403 (PermissionDenied).

Credit

Reported via coordinated disclosure.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-69139 changed 2026-11-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-pj7p-238h-76pv changed 2026-11-19CC-BY-4.0
NVDCVE-2026-69139 changed 2026-11-19Public domain