CVE-2024-31212

Public Exploit
SQL injection in index_chart_data action

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.

Categories

6.7
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.14%
Vendor Advisory github.com
Affected: instantsoft icms2
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-31212?
CVE-2024-31212 has been scored as a medium severity vulnerability.
How to fix CVE-2024-31212?
To fix CVE-2024-31212, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-31212 being actively exploited in the wild?
It is possible that CVE-2024-31212 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-31212?
CVE-2024-31212 affects instantsoft icms2.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.