Skip to content

CVE-2026-33888 ApostropheCMS: publicApiProjection Bypass via `project` Query Builder in Piece-Type REST API

MediumCVSS 5.3 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
apostrophecms < 4.29.0 4.29.0 Fixed
npm apostrophe(npm) < 4.29.0 4.29.0 Fixed
apostrophecms apostrophe = < 4.29.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
apostrophecms apostrophe = < 4.29.0 No fix listed
npm apostrophe(npm) < 4.29.0 4.29.0
apostrophecms < 4.29.0 4.29.0

References