CVE-2025-8311: SQL Injection

Published Sep 4, 2025
·
Updated

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

1 affected component
dotCMS dotCMS>=24.03.22

Event History

Sep 4, 2025
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Sep 16, 2025
Exploit Published
12:00 AM
Oct 31, 2025
Known Exploited
06:46 AM

Frequently Asked Questions

1

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.

2

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.

3

What specific endpoint is affected by CVE-2025-8311?

CVE-2025-8311 affects the /api/v1/contenttype endpoint within dotCMS.

4

What type of vulnerability is CVE-2025-8311?

CVE-2025-8311 is classified as a Boolean-based blind SQL injection vulnerability.

5

Which versions of dotCMS are vulnerable to CVE-2025-8311?

dotCMS versions 24.03.22 and later are vulnerable to CVE-2025-8311.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203