Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-39857— Information Disclosure via `choices`/`counts` Query Parameters Bypassing publicApiProjection Field Restrictions

CVSS 5.3 · Medium EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-39857

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Information Disclosure via `choices`/`counts` Query Parameters Bypassing publicApiProjection Field Restrictions
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
信息暴露
Source: NVD (National Vulnerability Database)
Vulnerability Title
ApostropheCMS 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ApostropheCMS是Apostrophe Technologies开源的一个全栈内容管理系统。 ApostropheCMS 4.28.0及之前版本存在安全漏洞,该漏洞源于REST API的choices和counts查询参数存在授权绕过,可能导致公开披露所有不同的字段值。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
apostrophecmsapostrophe < 4.29.0 -

II. Public POCs for CVE-2026-39857

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39857

登录查看更多情报信息。

Same Patch Batch · apostrophecms · 2026-04-15 · 6 CVEs total

CVE-2026-355698.7 HIGHApostropheCMS: Stored XSS in SEO Fields Leads to Authenticated API Data Exposure in Apostr
CVE-2026-401866.1 MEDIUMApostropheCMS: sanitize-html allowedTags Bypass via Entity-Decoded Text in nonTextTags Ele
CVE-2026-338895.4 MEDIUMApostropheCMS: Stored XSS via CSS Custom Property Injection in `@apostrophecms/color-field
CVE-2026-338885.3 MEDIUMApostropheCMS: publicApiProjection Bypass via `project` Query Builder in Piece-Type REST A
CVE-2026-338773.7 LOWApostropheCMS: User Enumeration via Timing Side Channel in Password Reset Endpoint

IV. Related Vulnerabilities

V. Comments for CVE-2026-39857

No comments yet


Leave a comment