{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-8311 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-8311 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-8311 is a critical SQL injection vulnerability in dotCMS Cloud Services (dCS), published on 4 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8311 and fix it if it is affected.\n\nWhat it is: CVE-2025-8311 is a critical SQL injection vulnerability in dotCMS Cloud Services (dCS), published on 4 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-8311 in the wild and no public exploit code.\n\nAffected product: dotCMS Cloud Services (dCS). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-8311/ (Markdown: https://insights.sbomify.com/CVE-2025-8311/index.md)","id":"CVE-2025-8311","markdown":"https://insights.sbomify.com/CVE-2025-8311/index.md","name":"CVE-2025-8311","record":{"aliases":["GHSA-9qw9-jx9r-5rcc"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","privilege_escalation","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"dotCMS Cloud Services","requires_auth":"low_privilege","summary":"Authenticated attackers can exploit SQL injection in dotCMS to extract database data, escalate privileges, or cause denial of service.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dotCMS","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.\n\nThe vulnerability was triggered via the sites parameter, which was directly concatenated into a SQL query without proper sanitization. \n\nExploitation allowed an authenticated attacker with low privileges to extract data from database, perform privilege escalation, or trigger denial-of-service conditions. \n\nThe vulnerability was verified using tools such as SQLMap and confirmed to allow full database exfiltration and potential denial-of-service conditions via crafted payloads.\n\nThe 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","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2025-09-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-09-16","kind":"exploitdb","ref":"52431","stars":null,"title":"dotCMS 25.07.02-1 - Authenticated Blind SQL Injection"}],"tier":"poc_unverified"},"has_fix":null,"headline":"SQL injection in dotCMS Cloud Services (dCS)","id":"CVE-2025-8311","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Business logic in Server","id":"CVE-2025-8312"},"packages":[],"prev":{"headline":"Missing authorization in Virtual Application Delivery ControllerCWE-862","id":"CVE-2025-8310"},"products":["dotCMS Cloud Services (dCS)"],"published":"2025-09-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-11","vendors":["dotCMS"]},"summary":"Authenticated attackers can exploit SQL injection in dotCMS to extract database data, escalate privileges, or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-8311/"}