Read the docs

Stored cross-site scripting in dotCMS legacy custom field page

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

dotCMS through 26.10.28-03 and the 25.07 LTS line through 25.07.10 v25 are affected. Field values and definitions written into an inline script in the legacy custom field page are not encoded for script context, which allows stored cross-site scripting (CWE-79). A low-privileged back-end user who can edit a contentlet field can store markup that runs in the session of an editor or administrator who later opens that contentlet.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Fix Fixed dotCMS (dotCMS): 26.10.29-01, 25.07.10_lts_v26

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
dotCMSdotCMSbefore 26.10.29-01; 25.07.10 to before 25.07.10_lts_v2626.10.29-01, 25.07.10_lts_v26Patch availableCNA
  • dotCMS VendordotCMS Affected before 26.10.29-01; 25.07.10 to before 25.07.10_lts_v26 Fixed in 26.10.29-01, 25.07.10_lts_v26 Patch available CNA

Remediation

Upgrade dotCMS to 26.10.29-01 or later. For the 25.07 LTS line, upgrade to 25.07.10_lts_v26.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA dotCMS (dotCMS) Fixed in 26.10.29-01, 25.07.10_lts_v26

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    dotCMS 25.07.10_lts_v26, 26.10.29-01

    12 records Highest priority Priority MEDIUM 8 MEDIUM, 4 LOW

    Other records, highest priority first

    • TI-2026-104395 Improper authorization in dotCMS rule engine allows user impersonationPriority MEDIUM 53
    • TI-2026-104392 Missing authorization exposes dotCMS push publishing endpoint keysPriority MEDIUM 52
    • TI-2026-104409 dotCMS lets site editors overwrite Site Variables of other sitesPriority MEDIUM 47

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-121988

References

  • TI-2022-09726 Directory traversal in dotCMS ContentResource API allows file upload KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-05479 dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access… CVSS 3.1CRITICAL 9.8
  • TI-2026-104432 Velocity sandbox escape in dotCMS lets template authors run code CVSS 4.0CRITICAL 9.4
  • TI-2026-104360 Remote code execution in dotCMS through push publishing CVSS 4.0CRITICAL 9.4
  • TI-2026-104356 Velocity sandbox escape in dotCMS allows command execution CVSS 4.0CRITICAL 9.4
  • TI-2026-104355 RCE via WebDAV path traversal by any authenticated user CVSS 4.0CRITICAL 9.4
See all 167 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences