Stored SQL injection in dotCMS container sort setting
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
dotCMS versions before 26.10.22-01 and from 25.07.10 before 25.07.10_lts_v23 are affected. The "Sort contentlets by" container setting does not neutralize SQL, so a stored value reaches an ORDER BY clause unvalidated (CWE-89). An authenticated back-end user who can edit a container, without administrator rights, can infer data from the database, including password hashes and API tokens.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
Improper neutralization of SQL in the container "Sort contentlets by" setting in dotCMS versions prior to 26.10.22-01, and 25.07.10 LTS prior to v23, allows an authenticated back-end user who can edit a container, without administrator rights, to store a value that dotCMS later inserts unvalidated into the ORDER BY clause of a database query. The stored value runs whenever the contents of that container are reordered and when the page is published, letting the user infer arbitrary data from the dotCMS database, including password hashes, API tokens, app configuration and content of other sites, and slow down the database. Fixed in 26.10.22-01 and later, and in 25.07.10 LTS v23. The setting now accepts only a supported column (tree_order, title, mod_date, sort_order or inode) with an optional asc or desc. Any other value is rejected when a container is saved through the REST API, the container editor, copy or push publishing, and a previously stored unsupported value falls back to the default order.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dotCMS | dotCMS | before 26.10.22-01; 25.07.10 to before 25.07.10_lts_v23 | 26.10.22-01, 25.07.10_lts_v23 | Patch available | CNA |
- dotCMS VendordotCMS Affected before 26.10.22-01; 25.07.10 to before 25.07.10_lts_v23 Fixed in 26.10.22-01, 25.07.10_lts_v23 Patch available CNA
Remediation
Upgrade dotCMS to 26.10.22-01 or later, or to 25.07.10_lts_v23 or later on the 25.07.10 LTS line. The fixed setting accepts only supported column names with an optional asc or desc.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA dotCMS (dotCMS) Fixed in 26.10.22-01, 25.07.10_lts_v23
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_v23, 26.10.22-01
8 records Highest priority Priority MEDIUM 6 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-104368 Endpoint keys written to dotCMS application logs in clear textPriority MEDIUM 48
- TI-2026-104371 dotCMS folder move needs only read permission on the source folderPriority MEDIUM 47
- TI-2026-104382 Missing authorization lets dotCMS users change app configurationPriority MEDIUM 46
Timeline
- 2026-12-04 Threatist record created from CVE-2026-115976
References
Advisory 1
More dotCMS vulnerabilities
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences