Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. apostrophe
  4. ›
  5. CVE-2026-33888

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

April 16, 2026

The getRestQuery method in the @apostrophecms/piece-type module 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 to pre-populate the projection state, causing the security-enforced publicApiProjection to be skipped entirely. This allows disclosure of fields that the site administrator explicitly restricted from public access.

References

  • github.com/advisories/GHSA-xhq9-58fw-859p
  • github.com/apostrophecms/apostrophe
  • github.com/apostrophecms/apostrophe/commit/00d472804bb622df36a761b6f2cf2b33b2d4ce80
  • github.com/apostrophecms/apostrophe/commit/6c2b548dec2e3f7a82e8e16736603f4cd17525aa
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-xhq9-58fw-859p
  • nvd.nist.gov/vuln/detail/CVE-2026-33888

Code Behaviors & Features

Detect and mitigate CVE-2026-33888 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.29.0

Fixed versions

  • 4.29.0

Solution

Upgrade to version 4.29.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-863: Incorrect Authorization

Source file

npm/apostrophe/CVE-2026-33888.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:44 +0000.