Description
jshERP through 3.6 contains a missing authorization vulnerability in the POST /user/batchSetStatus endpoint that allows authenticated low-privilege users to change other users' account status. Attackers can submit crafted ids and status values to disable every non-owner account in their tenant, locking out administrators, or re-enable disabled accounts.
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| jishenghua | jshERP | <= 3.6 |
References
- https://github.com/jishenghua/jshERP
- https://github.com/jishenghua/jshERP/blob/v3.6/jshERP-boot/src/main/java/com/jsh/erp/controller/UserController.java#L541-L555
- https://github.com/jishenghua/jshERP/blob/v3.6/jshERP-boot/src/main/java/com/jsh/erp/service/UserService.java#L901-L946
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/jsherp-user-account-lifecycle-missing-authz
- https://www.vulncheck.com/advisories/jsherp-through-3.6-missing-authorization-via-user-batchsetstatus
Timeline
- Published
- Oct 14, 2026
- Last modified
- Oct 18, 2026
- NVD status
- Deferred