CVE-2026-126096: Editor names and email addresses exposed to anonymous users by the legacy Content API
Exposure of personal information in the legacy Content API (/api/content, ContentResource) in dotCMS versions before 26.10.23-01 and the 25.07 LTS line before v28 allows anonymous visitors and other users without back-end access to read the user IDs, full names and, where user IDs are email addresses, the email addresses of the editors who created, modified or published content, through properties such as modUser, modUserName, owner and publishUser. Exploitation requires only that anonymous read access to the Content API is enabled, as is common on headless sites.
Fixed in 26.10.23-01 and later (LTS: 25.07.10 v28 and later), which add the CONTENTAPIFIELDSTOMASK and CONTENTAPIFIELDSTOHIDE settings. When set, the listed properties are masked or removed from legacy Content API responses (JSON, XML, search and related content) for callers without back-end access, and searching or sorting on them is refused. Both settings are empty by default, so the protection must be enabled by configuration.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.10.23-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 v28 - Configuration
Configure the settings to mask or hide exposed properties such as modUser, modUserName, owner, and publishUser from legacy Content API responses for callers without back-end access.
dotCMS legacy Content API CONTENT_API_FIELDS_TO_MASK and CONTENT_API_FIELDS_TO_HIDE = Non-empty field lists
Event History
Frequently Asked Questions
Which deployments are realistically exposed?
Deployments that enable anonymous read access to the legacy Content API are exposed to anonymous visitors, which is common for headless sites. Other callers without back-end access may also receive the affected editor-related fields.
What does an attacker need to exploit this issue?
The attacker only needs access to the legacy Content API when anonymous read access is enabled. No back-end access is required.
Are the fixed versions protected automatically after upgrade?
No. Although the fixed versions provide CONTENT_API_FIELDS_TO_MASK and CONTENT_API_FIELDS_TO_HIDE, both settings are empty by default. Administrators must configure the relevant properties to be masked or removed.
What mitigation is available if immediate patching is not possible?
The provided information identifies anonymous read access to the legacy Content API as the exploitation prerequisite. Restricting that access prevents anonymous exploitation, but no other temporary mitigation is specified.
How can administrators determine whether information is being exposed?
Review legacy Content API responses, including JSON, XML, search, and related-content responses, for fields such as modUser, modUserName, owner, and publishUser. These fields can reveal editor user IDs, full names, and email addresses when the user ID is an email address.