CVE-2025-8311 in Dotcms products
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 con...
Affects 0 products from 2 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-8311 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-160682-I |
| Published | 2025-09-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-89: SQL Injection
Attacker inserts SQL commands into application queries through user-controlled input, allowing unauthorized database access.
Related attack patterns (CAPEC)
CAPEC-7 Blind SQL Injection via CWE-89
CAPEC-108 Command Line Execution through SQL Injection via CWE-89
CAPEC-109 Object Relational Mapping Injection via CWE-89
CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-89
CAPEC-470 Expanding Control over the Operating System from the Database via CWE-89
Show all 6
CAPEC-66 SQL Injection via CWE-89
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Boolean-based blind SQL injection vulnerability was identified in dotCMS versions 24.03.22 and later, affecting the /api/v1/contenttype endpoint. This vulnerability arises from improper sanitization of the 'sites' query parameter, which is directly concatenated into SQL queries.
The vulnerability is triggered via the 'sites' parameter in the /api/v1/contenttype endpoint. An attacker can exploit this by injecting malicious SQL code through the 'sites' parameter, leading to unauthorized data access or manipulation.
Questions
What is CVE-2025-8311?
A Boolean-based blind SQL injection vulnerability was identified in dotCMS versions 24.03.22 and later, affecting the /api/v1/contenttype endpoint. This vulnerability arises from improper sanitization of the 'sites' query parameter, which is directly concatenated into SQL queries.
Is CVE-2025-8311 actively exploited?
Public exploit available for CVE-2025-8311. Exploitation risk elevated.
How do I remediate CVE-2025-8311?
Priority: HIGH. Advisory: https://dev.dotcms.com/docs/known-security-issues?issueNumber=SI-73
What systems are affected by CVE-2025-8311?
CVE-2025-8311 affects Dotcms; Full.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Dotcms","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.