CVE-2026-33888

ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain an authorization bypass vulnerability in the getRestQuery method of the @apostrophecms/piece-type module, where the method checks whether a MongoDB projection has already been set before applying the admin-configured publicApiProjection. An unauthenticated attacker can supply a project query parameter in the REST API request, which is processed by applyBuildersSafely before the permission check, pre-populating the projection state and causing the publicApiProjection to be skipped entirely. This allows disclosure of any field on publicly queryable documents that the administrator explicitly restricted from the public API, such as internal notes, draft content, or metadata. Exploitation is trivial, requiring only appending query parameters to a public URL with no authentication. This issue has been fixed in version 4.29.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:*

History

20 Apr 2026, 17:04

Type Values Removed Values Added
CPE cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:*
References () https://github.com/apostrophecms/apostrophe/commit/00d472804bb622df36a761b6f2cf2b33b2d4ce80 - () https://github.com/apostrophecms/apostrophe/commit/00d472804bb622df36a761b6f2cf2b33b2d4ce80 - Patch
References () https://github.com/apostrophecms/apostrophe/commit/6c2b548dec2e3f7a82e8e16736603f4cd17525aa - () https://github.com/apostrophecms/apostrophe/commit/6c2b548dec2e3f7a82e8e16736603f4cd17525aa - Patch
References () https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-xhq9-58fw-859p - () https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-xhq9-58fw-859p - Exploit, Mitigation, Vendor Advisory
First Time Apostrophecms
Apostrophecms apostrophecms

15 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-15 20:16

Updated : 2026-04-20 17:04


NVD link : CVE-2026-33888

Mitre link : CVE-2026-33888

CVE.ORG link : CVE-2026-33888


JSON object : View

Products Affected

apostrophecms

  • apostrophecms
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-863

Incorrect Authorization