Overview
CVE-2026-126096 documents an information-disclosure flaw in the legacy Content API of dotCMS, the open-source Java content management platform. Content records returned through the /api/content endpoint family served by ContentResource carry audit metadata describing who created, modified or published each item. In the affected releases, that metadata is rendered in full to any caller allowed to read the content, including clients that have no back-end role at all.
The leaked attributes include:
- User IDs of the editors who created, modified or published the content
- Full names associated with those user IDs
- Email addresses, on deployments where the user identifier is itself an email address
The properties through which the data is exposed include at least modUser, modUserName, owner and publishUser. The same fields appear across the legacy API's response types: JSON, XML, search results and related-content responses.
Affected systems
- dotCMS active release line: all versions prior to
26.10.23-01
- dotCMS 25.07 LTS line: all versions prior to
v28(described in the advisory as25.07.10 v28for the fixed build)
The flaw is limited to the legacy Content API surface. Newer API entry points are not described as affected by this advisory.
Root cause
The legacy Content API serializes audit metadata as part of the standard content record without a caller-aware redaction step. Because editor identifiers are treated as content-level rather than user-directory data, an anonymous or front-end-only caller sees the same fields that an administrator would. The fix adds two configuration-driven redaction controls, but neither is populated by default, so a deployment that only upgrades will not, on its own, stop the leak.
Attack vector
The preconditions are minimal: the deployment must allow anonymous read access against the legacy Content API. Under the common headless pattern this is the default expectation, since the front-end application reads content directly, unauthenticated, through /api/content or related ContentResource endpoints.
An attacker issues ordinary unauthenticated HTTP requests against those endpoints, optionally using search or sort parameters to enumerate content. Each returned record exposes editor identifiers in the response body. No authentication, no session token and no back-end role are required. Where a deployment's login identifier happens to be the user's email address, the same response yields an email-address harvest.
Real-world impact
No in-the-wild exploitation is reported in the advisory, and no public exploit is referenced. The practical impact is still meaningful for affected deployments:
- Bulk harvesting of staff names (and, where applicable, email addresses) tied to content authorship
- Reconnaissance input for social-engineering or spear-phishing against the editorial team
- OSINT value when combined with other leaked datasets (e.g., exposed credentials, breach corpora)
The impact is bounded by the fact that this is purely an information-disclosure issue: there is no privilege escalation, no remote code execution and no authentication bypass in scope. Whether email addresses leak, in particular, depends on the operator's user-id scheme.
Mitigation
- Upgrade. Move to
26.10.23-01or later on the active release line, or to25.07.10 v28or later on the 25.07 LTS line.
- Enable the new redaction controls. The patch only introduces the settings; they ship empty. Operators must populate them, for example through environment variables,
dotmarketing-config.propertiesor the back-end configuration UI:
- CONTENT_API_FIELDS_TO_MASK — list of properties whose values should be partially masked for callers without back-end access
- CONTENT_API_FIELDS_TO_HIDE — list of properties that should be removed entirely from such responses
A reasonable baseline to start from includes modUser, modUserName, owner and publishUser. After configuring both lists, audit a sample response as an unauthenticated client to confirm the configured fields are no longer present (or are masked) and that search or sort requests referencing them are refused.
- Restrict anonymous access to the legacy API. If anonymous read against
/api/contentis not strictly required, disable it, or front it with a least-privilege read token, so the endpoint is no longer reachable by unauthenticated clients.
- Review logs. Audit Content API access logs for anonymous traffic against
/api/contentandContentResourceto assess potential prior harvesting.
- Plan for staff-side data hygiene. If enumeration occurred before remediation, evaluate whether email-formatted user IDs should be rotated and whether affected editors need to be notified, especially if the CMS is used internally by named staff.
Detection guidance
- Inspect anonymous responses from
/api/contentfor the audit fields listed above before mitigation, and verify their absence after configuringCONTENT_API_FIELDS_TO_MASKandCONTENT_API_FIELDS_TO_HIDE.
- Confirm that sort or search parameters targeting those fields are rejected for non-backend callers once the controls are active.
- Watch access logs for high-volume anonymous traffic against
ContentResourceendpoints, particularly from a small set of source addresses, which would be consistent with automated harvesting.
Outlook
The advisory illustrates a recurring pattern in legacy CMS APIs: audit metadata is convenient for back-end staff but becomes a privacy liability when the same response surface is exposed to anonymous front-end callers. The fact that the fix ships with empty defaults is also notable — the protection has to be opted into by configuration, which means deployments that upgrade without reading the release notes will continue to leak editor identifiers.