Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged back-end account
-
DeliveryEdit contentlet with legacy custom field
-
ExploitStore script payload in unencoded field value
-
ExecutionAdmin opens contentlet in content editor
-
ImpactScript runs in admin session via API access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated low-privileged back-end dotCMS user who holds edit permission on a contentlet whose content type includes a legacy VTL custom field - the exact feature that renders through legacy-custom-field.jsp in a frame within the content editor. The stored payload executes only when a higher-privileged editor or administrator subsequently opens that same contentlet (the UI:P / passive-interaction requirement); it does not fire on its own. Limiting factors that reduce real-world risk: valid back-end credentials and field-edit rights are prerequisites, the targeted content type must actually use a legacy custom field, and a victim with editor/administrator privileges must open the contentlet. Deployments using only modern (non-legacy VTL) custom fields are not exposed via this page. |
| Impact | This is a medium-severity stored XSS (CVSS 4.0 base 5.1, CWE-79) that realistically sits well below top-priority despite running in administrator sessions. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms network reach and low attack complexity but requires an authenticated low-privileged back-end account (PR:L) and passive victim interaction (UI:P) - an editor or administrator must open the poisoned contentlet before the payload fires. Impact is confined to the subsequent system (SC:L/SI:L, with VC/VI/VA:N), reflecting that the script gains the victim's API access rather than directly compromising the server. No EPSS score, KEV listing, or SSVC exploitation/automatable values were provided in the input, so probabilistic and decision-framework signals cannot be weighed; the only priority signal is the vuln.today 'this_month' decision label, which indicates a scheduled-remediation rather than emergency posture. The issue is self-reported by dotCMS with no independent exploitation evidence. Net: a genuine stored-XSS privilege-escalation-to-admin-context risk for multi-user dotCMS back ends, but gated by prior authenticated access and victim interaction, making it a plan-and-patch item rather than a drop-everything emergency. |
| Exploit ScenarioDerived | A low-privileged back-end author who can edit a contentlet on a content type that uses a legacy VTL custom field stores malicious markup in a field value or definition. When an editor or administrator later opens that contentlet, the content editor loads legacy-custom-field.jsp in a frame and executes the attacker's script in the victim's session, handing the attacker that user's API access. No public exploit or PoC reference is present in the supplied data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Stored cross-site scripting in dotCMS through 26.10.28-03 and the 25.07 LTS line through 25.07.10 v25 lets a low-privileged back-end user with contentlet field-edit rights persist markup that runs in the browser session of any editor or administrator who later opens the affected contentlet, giving the injected script that user's API access. The flaw lives in legacy-custom-field.jsp, which the content editor loads in a frame for legacy VTL custom fields and which writes contentlet field values and field definitions into an inline script without script-context encoding; exploitation requires the targeted content type to actually include a legacy custom field and requires the higher-privileged victim to open the contentlet (UI:P), so it does not fire on its own. Severity is assessed at CVSS 3.1 5.1 medium (scope-changed, low confidentiality/integrity impact), no public exploit code or active exploitation is reported, and fixes are available in 26.10.29-01 and LTS 25.07.10 v26.
RemediationAI
Upgrade to 26.10.29-01 or later, or to LTS 25.07.10 v26 for the 25.07 line; those releases encode all values the page writes into its scripts, closing the injection point. Confirm the fix against the vendor advisory SI-151 at https://dev.dotcms.com/docs/manage/access-and-security/security-and-privacy/known-security-issues?issueNumber=SI-151. If upgrading cannot be done immediately, the exposure can be narrowed by migrating affected content types off legacy VTL custom fields to modern custom fields, since deployments without legacy custom fields do not load legacy-custom-field.jsp and are not reachable through this path - at the cost of re-implementing those field templates. Additionally, review which back-end roles hold field-edit rights on content types that contain legacy custom fields, since a valid low-privileged account with that permission is a prerequisite, and re-audit stored field values and field definitions on those contentlets for injected markup. No vendor-released patch level prior to 26.10.29-01 / 25.07.10 v26 addresses this issue.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
dotCMS is a Java-based hybrid headless/HTML content management platform, and its content editor historically supported custom fields rendered from Velocity (VTL) templates. For legacy VTL custom fields, the editor loads legacy-custom-field.jsp inside a frame, and that JSP interpolates contentlet field values and field definitions directly into an inline <script> block without applying script-context encoding (CWE-79, cross-site scripting). Because the values reach a JavaScript execution context rather than an HTML text context, conventional HTML-entity escaping is insufficient - the root cause is the missing JavaScript/script-context output encoding. The attacker needs to be an authenticated back-end user permitted to edit a field on a contentlet whose content type contains a legacy custom field; the stored payload then executes in the DOM of any editor or administrator who opens that contentlet, inheriting that user's session and API access. Per the assessed vector (CVSS:3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), the issue is network-reachable, low-complexity, requires low privileges and victim interaction, and has reduced confidentiality and integrity impact within a changed scope. Deployments that only use modern (non-legacy VTL) custom fields do not route through this page and are not exposed by it.
Know when Dotcms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated low-privileged attacker stores the payload (PR:L); a victim editor/admin must open the contentlet (UI:R); execution in the victim's context crosses a security authority (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (dotCMS).
CVSS VectorVendor: dotCMS
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
An issue was discovered in the ContentResource API in dotCMS 3.0 through 22.02. Rated critical severity (CVSS 9.8), this
An issue was discovered in dotCMS through 3.6.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
SQL injection vulnerability in the categoriesServlet servlet in dotCMS before 3.3.1 allows remote not authenticated atta
SQL injection in dotCMS Core (versions 25.11.04-1 through 26.04.28-02) lets remote unauthenticated attackers read, modif
dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access control. Rated critical severity (
SQL injection vulnerability in the "Site Browser > HTML pages" screen in dotCMS before 3.3.1 allows remote authenticated
SQL injection vulnerability in the "Site Browser > Links pages" screen in dotCMS before 3.3.1 allows remote authenticate
SQL injection vulnerability in the "Content Types > Content Types" screen in dotCMS before 3.3.1 allows remote authentic
SQL injection vulnerability in the JSONTags servlet in dotCMS before 3.3.1 allows remote authenticated attackers to exec
SQL injection vulnerability in the "Site Browser > Containers pages" screen in dotCMS before 3.3.1 allows remote authent
SQL injection vulnerability in the "Site Browser > Templates pages" screen in dotCMS before 3.3.1 allows remote authenti
dotCMS before 20.10.1 allows SQL injection, as demonstrated by the /api/v1/containers orderby parameter. Rated high seve
EUVD-2026-144695
NVD
CVE.org
GitHub PoC
Exploit-DB