{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-31212","published":"2024-04-04T23:15:16.540000Z","last_modified":"2026-06-17T07:27:59.550000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-20","CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:instantcms:instantcms:2.16.2:*:*:*:*:*:*:*","part":"a","vendor":"instantcms","product":"instantcms","version":"2.16.2"}],"cpes_truncated":false,"vendors":["instantcms"],"products":["instantcms/instantcms"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.00986,"percentile":0.61297,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2024-31212/","html_en":"/en/cve/CVE-2024-31212/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-31212","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-31212"},"untrusted":{"vendor_name":"Instantcms","product_name":"Instantcms","desc_en":"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.","affected":[{"untrusted_vendor":"instantsoft","untrusted_product":"icms2","versions":[]},{"untrusted_vendor":"instantcms","untrusted_product":"icms2","versions":[]}],"references":[{"url":"https://github.com/instantsoft/icms2/blob/4691a1524780e74107f6009b48d91e17a81b0fa1/system/controllers/admin/actions/index_chart_data.php#L190","tags":["Product"]},{"url":"https://github.com/instantsoft/icms2/blob/4691a1524780e74107f6009b48d91e17a81b0fa1/system/core/model.php#L744","tags":["Product"]},{"url":"https://github.com/instantsoft/icms2/security/advisories/GHSA-qx95-w566-73fw","tags":["Exploit","Vendor Advisory"]},{"url":"https://user-images.githubusercontent.com/109034767/300806111-a33d9548-d99f-4034-bef3-fbd7fa62c37f.png","tags":["Permissions Required"]}]}}