CVE-2024-31212
CVE-2024-31212 is a medium-severity vulnerability in Instantcms with a CVSS 3.x base score of 6.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 6.7)
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29112
- Weakness: CWE-89
- Affected product: Instantcms
- Published:
- Last modified:
Description
InstantCMS is a free and open source content management system. A SQL injection vulnerability affects instantcms v2.16.2 in which an attacker with administrative privileges can cause the application to execute unauthorized SQL code. The vulnerability exists in index_chart_data action, which receives an input from user and passes it unsanitized to the core model `filterFunc` function that further embeds this data in an SQL statement. This allows attackers to inject unwanted SQL code into the statement. The `period` should be escaped before inserting it in the query. As of time of publication, a patched version is not available.
Frequently asked questions
- What is CVE-2024-31212?
- InstantCMS is a free and open source content management system. A SQL injection vulnerability affects instantcms v2.16.2 in which an attacker with administrative privileges can cause the application to execute unauthorized SQL code. The vulnerability exists in index_chart_data action, which receives an input from user and passes it unsanitized to the core model `filterFunc` function that further embeds this data in an SQL statement. This allows attackers to inject unwanted SQL code into the statement. The `period` should be escaped before inserting it in the query. As of time of publication, a patched version is not available.
- How severe is CVE-2024-31212?
- CVE-2024-31212 has a CVSS 3.x base score of 6.7, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2024-31212 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31212?
- CVE-2024-31212 affects Instantcms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-31212?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-31212 have an EU (EUVD) identifier?
- Yes. CVE-2024-31212 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29112.
- When was CVE-2024-31212 published?
- CVE-2024-31212 was published on 2024-04-04 and last updated on 2026-06-17.
References
- https://github.com/instantsoft/icms2/blob/4691a1524780e74107f6009b48d91e17a81b0fa1/system/controllers/admin/actions/index_chart_data.php#L190
- https://github.com/instantsoft/icms2/blob/4691a1524780e74107f6009b48d91e17a81b0fa1/system/core/model.php#L744
- https://github.com/instantsoft/icms2/security/advisories/GHSA-qx95-w566-73fw
- https://user-images.githubusercontent.com/109034767/300806111-a33d9548-d99f-4034-bef3-fbd7fa62c37f.png
Affected products (1)
- cpe:2.3:a:instantcms:instantcms:2.16.2:*:*:*:*:*:*:*
More vulnerabilities in Instantcms
- CVE-2013-10051 — Critical (CVSS 9.8): A remote PHP code execution vulnerability exists in InstantCMS version 1.6 and earlier due to unsafe use of eval()…
- CVE-2023-4188 — Critical (CVSS 9.1): SQL Injection in GitHub repository instantsoft/icms2 prior to 2.16.1-git.
- CVE-2026-28281 — High (CVSS 7.1): InstantCMS is a free and open source content management system. Prior to 2.18.1, InstantCMS does not validate CSRF…
- CVE-2023-4655 — Medium (CVSS 6.1): Cross-site Scripting (XSS) - Reflected in GitHub repository instantsoft/icms2 prior to 2.16.1.
- CVE-2018-14382 — Medium (CVSS 6.1): InstantCMS 2.10.1 has /redirect?url= XSS.
- CVE-2024-50348 — Medium (CVSS 5.4): InstantCMS is a free and open source content management system. In photo upload function in the photo album page there…
All CVEs affecting Instantcms →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…