CVE-2026-121988

Stored XSS in the legacy custom field page of the content editor

Published Dec 4, 2026 CVSS 4.0 · 5.1 Medium EPSS n/a KEV · Not listed
Description
Stored cross-site scripting in the legacy custom field page (legacy-custom-field.jsp) that the content editor loads in a frame for legacy VTL custom fields, in dotCMS through 26.10.28-03 (and the 25.07 LTS line through 25.07.10 v25). Contentlet field values and field definitions were written into an inline script without script-context encoding. A low-privileged back-end user who can edit a field on a contentlet of a content type with a legacy custom field could store markup that runs in the session of any editor or administrator who later opens that contentlet, giving the script that user's API access. Fixed in 26.10.29-01 and later, and in LTS 25.07.10 v26. The page now encodes all values it writes into its scripts.

Remediation

Vendor Solution

Upgrade to dotCMS 26.10.29-01 or later, or to 25.07.10 LTS v26 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Stored cross-site scripting in the legacy custom field page (legacy-custom-field.jsp) that the content editor loads in a frame for legacy VTL custom fields, in dotCMS through 26.10.28-03 (and the 25.07 LTS line through 25.07.10 v25). Contentlet field values and field definitions were written into an inline script without script-context encoding. A low-privileged back-end user who can edit a field on a contentlet of a content type with a legacy custom field could store markup that runs in the session of any editor or administrator who later opens that contentlet, giving the script that user's API access. Fixed in 26.10.29-01 and later, and in LTS 25.07.10 v26. The page now encodes all values it writes into its scripts.
Title Stored XSS in the legacy custom field page of the content editor
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
dotCMS
Published
Updated
Dec 4, 2026, 8:16 PM
Reserved
Nov 4, 2026, 1:14 PM
Status
Received
Published
Dec 4, 2026, 9:17 PM
Modified
Dec 4, 2026, 9:17 PM