Skip to main content
← All vulnerabilities
CVE-2026-33888GHSA-XHQ9-58FW-859P

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.29.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • apostrophecms apostrophe

    fixed in 4.29.0

  • apostrophenpm

    fixed in 4.29.0

References 3

GitHub · apostrophecms/apostrophe