{"id":"CVE-2024-24004","details":"jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.DepotHeadController: com.jsh.erp.utils.BaseResponseInfo findInOutDetail() 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:33.378881304Z","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-24004.json"},"references":[{"type":"WEB","url":"https://github.com/cxcxcxcxcxcxcxc/cxcxcxcxcxcxcxc/blob/main/cxcxcxcxcxc/about-2024/24004.txt"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24004.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24004"},{"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":{"extracted_events":[{"introduced":"3.3"},{"last_affected":"3.3"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:jishenghua:jsherp:3.3:*:*:*:*:*:*:*"}}],"versions":["3.3","v3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24004.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"}]}