cvelo
P2 · HighCVSS 7.1

Stored SQL injection via container sort setting

  • CVE-2026-115976
  • EUVD-2026-144592

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.

Text from the CVE.org record.

Recommendation

  • dotCMS

    • If you run a version before 26.10.22-01update to 26.10.22-01 or later
    • If you run a version from 25.07.10 to before 25.07.10_lts_v23update to 26.10.22-01 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • dotCMS

    Affected versionsFixed in
    before 26.10.22-0126.10.22-01
    from 25.07.10 to before 25.07.10_lts_v2326.10.22-01

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.