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% (59th 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% (59th 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-124815 — Critical (CVSS 10.0): The Clockinator Lite WordPress plugin before 1.1.0 does not restrict access to several of its record deletion actions,…
- CVE-2026-105781 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL…
- CVE-2026-79849 — Critical (CVSS 10.0): Vulnerabilities in the affected interface of AOS-8 could allow an unauthenticated remote attacker to conduct SQL…
- CVE-2026-79848 — Critical (CVSS 10.0): Vulnerabilities in the affected interface of AOS-8 could allow an unauthenticated remote attacker to conduct SQL…
- CVE-2026-55572 — Critical (CVSS 10.0): e107 is a content management system (CMS). Prior to 2.3.7, the bundled alt_auth plugin's otherdb and e107db…
- CVE-2026-12260 — Critical (CVSS 10.0): SQL injection in the NetBoard CRM demo platform; specifically, the vulnerable component is the ‘user-name’ POST…