{"id":"CVE-2024-24002","details":"jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.MaterialController: com.jsh.erp.utils.BaseResponseInfo getListWithStock() function of jshERP does not filter `column` and `order` parameters well enough, and an attacker can construct malicious payload to bypass jshERP's protection mechanism in `safeSqlParse` method for sql injection.","modified":"2026-08-12T03:51:12.999026994Z","published":"2024-02-06T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24002.json"},"references":[{"type":"WEB","url":"https://github.com/cxcxcxcxcxcxcxc/cxcxcxcxcxcxcxc/blob/main/cxcxcxcxcxc/about-2024/24002.txt"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24002.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24002"},{"type":"REPORT","url":"https://github.com/jishenghua/jshERP/issues/99"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jishenghua/jsherp","events":[{"introduced":"13cce4d4fbd4ed5a03d85426ed0be95917d1625d"},{"last_affected":"13cce4d4fbd4ed5a03d85426ed0be95917d1625d"}],"database_specific":{"cpe":"cpe:2.3:a:jishenghua:jsherp:3.3:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.3"},{"last_affected":"3.3"}],"source":"CPE_STRING"}}],"versions":["3.3","v3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24002.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}