CVE-2024-31212

SQL injection in index_chart_data action

Published Apr 4, 2024 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-29112 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
Type Values Removed Values Added
First Time appeared Instantcms instantcms
CPEs cpe:2.3:a:instantcms:instantcms:2.16.2:*:*:*:*:*:*:*
Vendors & Products Instantcms instantcms
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 1:46 AM
Reserved
Mar 29, 2024, 2:16 PM
Status
Analyzed
Published
Apr 4, 2024, 11:15 PM
Modified
Jun 17, 2026, 7:27 AM