Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover public API endpoint
-
ExploitSend HTTP request with choices/counts parameter of non-projected field
-
ExecutionMongoDB distinct() ignores projection
-
ImpactDistinct values returned in response without filtering
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must have a piece-type or page REST API endpoint with a non-empty publicApiProjection configuration, creating the disparity that the distinct() bypass exploits. No authentication is required; the attacker simply needs network access to the API and knowledge of a schema field name not included in the projection. Fields protected by viewPermission are also exposed if they possess a registered query builder, which all standard field types do. |
| Impact | CVSS 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) indicates medium severity with low confidentiality impact, no authentication required, and a network attack vector. The EPSS score of 0.04% suggests very low exploitation probability. SSVC assessment (exploitation: PoC, automatable: yes, technical impact: partial) confirms an available proof-of-concept but no active exploitation in the wild, and the impact is limited to information disclosure without escalation. While automatable and unauthenticated, the real-world risk is moderate given the narrow impact and low EPSS probability. No conflicting data is present; all sources align. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted GET request to the public REST API endpoint (e.g., /api/v1/thing?choices=secretField) where secretField is not listed in the publicApiProjection. The server processes the distinct() query, bypasses projection enforcement, and returns all distinct values of that field in the response, disclosing sensitive schema data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 26, 2026
Information disclosure in ApostropheCMS 4.28.0 and earlier allows unauthenticated attackers to extract distinct field values via the choices and counts REST API query parameters, bypassing publicApiProjection restrictions. The vulnerability exposes sensitive schema field values, including those protected by viewPermission, and a proof-of-concept exploit exists, though no active exploitation is confirmed.
RemediationAI
Upgrade to ApostropheCMS 4.29.0 or later, which adds projection and permission checks to the choices and counts query builders. The patch is available at https://github.com/apostrophecms/apostrophe/commit/6c2b548dec2e3f7a82e8e16736603f4cd17525aa. No practical workarounds exist for public APIs; if immediate upgrade is not possible, consider temporarily disabling public REST API access by avoiding publicApiProjection configuration or restricting network access to the API endpoint, though this will remove intended public functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ApostropheCMS is a Node.js CMS using MongoDB as its data store. The vulnerability arises from MongoDB's distinct() operation, which returns all distinct values for a specified field and ignores any projections set on the query. The application applies builders for choices and counts parameters before the publicApiProjection is enforced, and the distinct results are returned unfiltered, leading to CWE-200 information exposure. The affected CPE is cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:*.
Know when Apostrophecms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Network attack with no privileges or user interaction, disclosing only distinct field values without integrity or availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.org
ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain an authorization bypass vulnerability in the choices and counts query parameters of the REST API, where these query builders execute MongoDB distinct() operations that bypass the publicApiProjection restrictions intended to limit which fields are exposed publicly. The choices and counts parameters are processed via applyBuildersSafely before the projection is applied, and MongoDB's distinct operation does not respect projections, returning all distinct values directly. The results are returned in the API response without any filtering against publicApiProjection or removeForbiddenFields. An unauthenticated attacker can extract all distinct field values for any schema field type that has a registered query builder, including string, integer, float, select, boolean, date, slug, and relationship fields. Fields protected with viewPermission are similarly exposed, and the counts variant additionally reveals how many documents have each distinct value. Both the piece-type and page REST APIs are affected. This issue has been fixed in version 4.29.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apostrophecms
View allIntegrity bypass in ApostropheCMS page management allows authenticated low-privileged editors to move pages into restric
Stored cross-site scripting in ApostropheCMS prior to 2.17.6 enables execution of arbitrary JavaScript in victim browser
'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1), th
`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1
Apostrophe CMS versions prior to 3.3.1 did not invalidate existing login sessions when disabling a user account or chang
Stored XSS in sanitize-html versions 1.9.0 through 2.17.6 allows authenticated low-privileged users to inject executable
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHos
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which co
Prototype pollution in ApostropheCMS versions up to and including 4.30.0 allows an authenticated editor to poison Object
Stored cross-site scripting in the @apostrophecms/seo plugin (versions ≤1.4.2) allows any user holding the default edito
Stored cross-site scripting in ApostropheCMS SEO fields permits an authenticated attacker to inject arbitrary JavaScript
EUVD-2026-23108
GHSA-c276-fj82-f2pq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB