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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-04-04T23:02:38.775Z

Updated: 2024-08-02T01:46:04.773Z

Reserved: 2024-03-29T14:16:31.900Z

Link: CVE-2024-31212

cve-icon Vulnrichment

Updated: 2024-07-16T00:02:11.313Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-04T23:15:16.540

Modified: 2024-04-05T12:40:52.763

Link: CVE-2024-31212

cve-icon Redhat

No data.