Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-24002
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-24002
Complete source record
{
"id": "c27e296107fea8c455bf1140c4809b5581e678153ff6b4aea70f2037aa6bfa59",
"url": "https://osv.dev/vulnerability/CVE-2024-24002",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-24002",
"summary": "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.",
"evidence": "osv:CVE-2024-24002",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-24002",
"aliases": [
"CVE-2024-24002"
],
"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-24002.json"
}
}
],
"modified": "2026-10-28T02:30:25.480501867Z",
"provider": "osv",
"references": [
"https://github.com/cxcxcxcxcxcxcxc/cxcxcxcxcxcxcxc/blob/main/cxcxcxcxcxc/about-2024/24002.txt",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24002.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-24002",
"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-24002.json"
}
},
"related_cves": [
{
"value": "CVE-2024-24002",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491795,
"published_at": "2024-02-06T00:00:00+00:00"
}