CVE-2025-8311: SQL Injection
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
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-8311?
The CVE-2025-8311 vulnerability is classified with a severity that requires immediate attention due to the potential for unauthorized database access.
How do I fix CVE-2025-8311?
To fix CVE-2025-8311, upgrade to the latest version of dotCMS beyond 24.03.22 to eliminate the SQL injection vulnerability.
What specific endpoint is affected by CVE-2025-8311?
CVE-2025-8311 affects the /api/v1/contenttype endpoint within dotCMS.
What type of vulnerability is CVE-2025-8311?
CVE-2025-8311 is classified as a Boolean-based blind SQL injection vulnerability.
Which versions of dotCMS are vulnerable to CVE-2025-8311?
dotCMS versions 24.03.22 and later are vulnerable to CVE-2025-8311.