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% (57th 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% (57th 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-74820 — Critical (CVSS 10.0): ServiceNow has remediated a SQL injection vulnerability that was identified in in the ServiceNow AI platform. This…
- CVE-2026-20030 — Critical (CVSS 10.0): As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Crosswork engineering team…
- CVE-2026-72811 — Critical (CVSS 10.0): SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query…
- CVE-2026-72851 — Critical (CVSS 10.0): Budibase before 3.40.0 contains an unauthenticated SQL injection vulnerability in webhook-triggered automations with…
- CVE-2026-72899 — Critical (CVSS 10.0): Metabase allows an unauthenticated attacker to inject arbitrary SQL via a publicly shared card or dashboard that…
- CVE-2026-72898 — Critical (CVSS 10.0): Metabase allows a remote, unauthenticated attacker to inject arbitrary SQL via the '/reset_password' database endpoint…