Description
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.
Published: 2026-12-04
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to dotCMS 26.10.22-01 or later, or to 25.07.10 LTS v23 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Dec 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Stored SQL injection via container sort setting
Weaknesses CWE-89
References
Metrics cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: dotCMS

Published:

Updated: 2026-12-04T19:10:01.384Z

Reserved: 2026-10-24T07:03:13.891Z

Link: CVE-2026-115976

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')