CVE-2024-31212CWE-20CWE-89

SQL injection in index_chart_data action

Medium · published April 4, 2024

CVSS v3.1
6.7
EPSS
1%
Percentile
57.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00854 · 57.9th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-04-04T23:02Z
EPSS history
Timeline
  • 04 APR 23:02Z
    SQL injection in index_chart_data action
    cvelistv5