CVE-2026-112957

ApostropheCMS: GET /api/v1/@apostrophecms/page/:id bypasses viewRole restriction and exposes viewPermission-gated fields to lower-privileged users

Published Oct 20, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, the getOne REST endpoint for pages does not apply viewRole type-level restrictions or viewPermission field-level redaction. An editor-level user who knows a document _id can read the full content of admin-only pages and their privileged fields, while the getAll endpoint correctly enforces both restrictions. This issue is fixed in version 4.34.0.

Analysis

AI-generated

Technical impact

The vulnerability in ApostropheCMS arises when the REST endpoint that retrieves a single page does not enforce viewRole restrictions or viewPermission field redaction. An editor-level user who knows a page identifier can therefore read the full contents of admin-only pages, including privileged fields. This results in the disclosure of sensitive data that should otherwise be restricted.

Affected Systems

The affected product is ApostropheCMS, specifically versions prior to 4.34.0. Any installation running a pre‑4.34.0 release is susceptible if the getOne page API is reachable to users with editor privileges or lower.

Risk and Exploitability

The CVSS score of 4.3 indicates a medium severity. Because the EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, the likelihood of exploitation appears low at this time. The likely attack vector is a web-based request to the GET /api/v1/@apostrophecms/page/:id endpoint using a known page id, which can be supplied by an authorized user or potentially discovered through enumeration. An attacker who can obtain such an id would be able to retrieve restricted page information.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ApostropheCMS to version 4.34.0 or later, which restores proper enforcement of viewRole and viewPermission checks
  • If an upgrade is temporarily infeasible, restrict the /api/v1/@apostrophecms/page/:id endpoint to deny access for users without administrative roles by modifying the API middleware configuration
  • Ensure that custom controller logic includes explicit role and permission validation for all read operations to prevent future authorization bypasses

Generated by OpenCVE AI on October 20, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vh56-5m88-39rq ApostropheCMS: GET /api/v1/@apostrophecms/page/:id bypasses viewRole restriction and exposes viewPermission-gated fields to lower-privileged users
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apostrophecms
Apostrophecms apostrophecms
Vendors & Products Apostrophecms
Apostrophecms apostrophecms
Type Values Removed Values Added
Description ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, the getOne REST endpoint for pages does not apply viewRole type-level restrictions or viewPermission field-level redaction. An editor-level user who knows a document _id can read the full content of admin-only pages and their privileged fields, while the getAll endpoint correctly enforces both restrictions. This issue is fixed in version 4.34.0.
Title ApostropheCMS: GET /api/v1/@apostrophecms/page/:id bypasses viewRole restriction and exposes viewPermission-gated fields to lower-privileged users
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 21, 2026, 3:53 PM
Reserved
Oct 19, 2026, 9:30 PM
Status
Deferred
Published
Oct 20, 2026, 5:17 PM
Modified
Oct 21, 2026, 4:17 PM