← Vulnerability feed

Vulnerability record · CVE-2024-31212 · published 4 April 2024

CVE-2024-31212: Instantcms improper input validation vulnerability

Instantcms · Instantcms

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.

7.2 CVSS 3.1 High EPSS 0.85% · top 43.3% CWE-20 · Improper input validationCWE-89 · SQL injection
7.2CVSS 3.1 base score
0.85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-31212 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.3CVE-2013-10051Instantcms vulnerabilityA remote PHP code execution vulnerability exists in InstantCMS version 1.6 and earlier due to unsafe use of eval() within the search view handler. Sp…EPSS 2.8%9.1CVE-2023-4188Instantcms sql injection vulnerabilitySQL Injection in GitHub repository instantsoft/icms2 prior to 2.16.1-git.EPSS 0.93%7.2CVE-2025-59055Instantcms server-side request forgery (ssrf) vulnerabilityInstantCMS is a free and open source content management system. A blind Server-Side Request Forgery (SSRF) vulnerability in InstantCMS up to and incl…EPSS 0.45%7.1CVE-2026-28281Instantcms cross-site request forgery vulnerabilityInstantCMS is a free and open source content management system. Prior to 2.18.1, InstantCMS does not validate CSRF tokens, which allows attackers gra…EPSS 0.17%6.1CVE-2023-4655Instantcms cross-site scripting vulnerabilityCross-site Scripting (XSS) - Reflected in GitHub repository instantsoft/icms2 prior to 2.16.1.EPSS 0.47%6.1CVE-2018-14382Instantcms cross-site scripting vulnerabilityInstantCMS 2.10.1 has /redirect?url= XSS.EPSS 0.87%5.4CVE-2024-50348Instantcms cross-site scripting vulnerabilityInstantCMS is a free and open source content management system. In photo upload function in the photo album page there is no input validation taking …EPSS 0.33%5.4CVE-2024-31213Instantcms open redirect vulnerabilityInstantCMS is a free and open source content management system. An open redirect was found in the ICMS2 application version 2.16.2 when being redirec…EPSS 0.40%

Source: NIST National Vulnerability Database (record CVE-2024-31212), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.