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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-15T19:25:46.262Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-xhq9-58fw-859p
- Weaknesses: CWE-200, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- apostrophecms apostrophe: < 4.29.0
- apostrophe (npm): before 4.29.0
- apostrophecms apostrophecms: before 4.29.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-xhq9-58fw-859p> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/apostrophecms/apostrophe/commit/00d472804bb622df36a761b6f2cf2b33b2d4ce80> (patch, web)
- <https://github.com/apostrophecms/apostrophe/commit/6c2b548dec2e3f7a82e8e16736603f4cd17525aa> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33888> (advisory)
- <https://github.com/apostrophecms/apostrophe> (package)

## Sources

- CVE List: [CVE-2026-33888](https://www.cve.org/CVERecord?id=CVE-2026-33888), CVE Terms of Use, modified 2026-04-15
- GitHub Advisory Database: [GHSA-xhq9-58fw-859p](https://github.com/advisories/GHSA-xhq9-58fw-859p), CC-BY-4.0, modified 2026-04-16
- NVD: [CVE-2026-33888](https://nvd.nist.gov/vuln/detail/CVE-2026-33888), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33888 · Whole record: https://cve.day/CVE-2026-33888.json · Rebuilt by cve.day 2026-11-25T22:59:18.862Z
