CVE-2025-8311 Details
Description
dotCMS versions 24.03.22 and after, identified a Boolean-based blind SQLi vulnerability in the /api/v1/contenttype endpoint. This endpoint uses the sites query parameter, which accepts a comma-separated list of site identifiers or keys. The vulnerability was triggered via the sites parameter, which was directly concatenated into a SQL query without proper sanitization. Exploitation allowed an authenticated attacker with low privileges to extract data from database, perform privilege escalation, or trigger denial-of-service conditions. The vulnerability was verified using tools such as SQLMap and confirmed to allow full database exfiltration and potential denial-of-service conditions via crafted payloads. The vulnerability is fixed in the following versions of dotCMS stack: 25.08.14 / 25.07.10-1v2 LTS / 24.12.27v10 LTS / 24.04.24v21 LTS
A Boolean-based blind SQL injection vulnerability has been identified in the dotCMS ContentType API endpoint (/api/v1/contenttype) for versions 24.03.22 and later. The vulnerability arises from the sites query parameter, which accepts a comma-separated list of site identifiers. This parameter is directly concatenated into a SQL query without proper sanitization, allowing authenticated attackers with low privileges to extract data from the database, escalate privileges, or cause denial-of-service conditions. The vulnerability was verified using SQLMap, demonstrating the potential for full database exfiltration and disruption of service through crafted payloads.
Users are advised to upgrade to dotCMS versions 25.08.14, 25.07.10-1v2 LTS, 24.12.27v10 LTS, or 24.04.24v21 LTS. The patch includes proper parameterized query handling for the sites input, input validation and sanitation to eliminate injection vectors, and additional Web Application Firewall filtering rules to detect suspicious SQL-related input patterns.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2025CISA-ADP
Assessed Sep 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://dev.dotcms.com/docs/known-security-issues?issueNumber=SI-73 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dotCMS | >= 24.03.22 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2025 | CVE Modified | [email protected] |
| Sep 4, 2025 | New CVE Received | [email protected] |
Volerion