Critical
Security advisory
jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.DepotHeadController: com.jsh.erp.utils.BaseResponseInfo findInOutMaterialCount() 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-24003
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:04 UTC · Revision 1
Source evidence
jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.DepotHeadController: com.jsh.erp.utils.BaseResponseInfo findInOutMaterialCount() 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.
osv:CVE-2024-24003
Complete source record
{
"id": "cfa45cf26155d441f29fb104deb29f76d6e83b40e7101cca3e4af6ebd194f14c",
"url": "https://osv.dev/vulnerability/CVE-2024-24003",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-24003",
"summary": "jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.DepotHeadController: com.jsh.erp.utils.BaseResponseInfo findInOutMaterialCount() 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.",
"evidence": "osv:CVE-2024-24003",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-24003",
"aliases": [
"CVE-2024-24003"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jishenghua/jsherp",
"type": "GIT",
"events": [
{
"introduced": "13cce4d4fbd4ed5a03d85426ed0be95917d1625d"
},
{
"last_affected": "13cce4d4fbd4ed5a03d85426ed0be95917d1625d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jishenghua:jsherp:3.3:*:*:*:*:*:*:*",
"range": [
{
"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-24003.json"
}
}
],
"modified": "2026-10-28T02:30:38.328670091Z",
"provider": "osv",
"references": [
"https://github.com/cxcxcxcxcxcxcxc/cxcxcxcxcxcxcxc/blob/main/cxcxcxcxcxc/about-2024/24003.txt",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24003.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-24003",
"https://github.com/jishenghua/jshERP/issues/99"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24003.json"
}
},
"related_cves": [
{
"value": "CVE-2024-24003",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505565,
"published_at": "2024-02-08T00:00:00+00:00"
}