CVE-2025-56162
Common Vulnerabilities and Exposures record
Summary
YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint. The getListByIds function concatenates user input into orderRaw('field(goods_id, ...)'), allowing attackers to: (a) enumerate or modify database data, including dumping admin password hashes; (b) write web-shell files or invoke xp_cmdshell, leading to remote code execution on servers configured with sufficient DB privileges.
Risk
- CVSS
- 6.5
- Severity
- MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Timeline
- Published
- Oct 2, 2025 16:15
- Modified
- Nov 5, 2026 23:10
- Last observed
- Nov 5, 2026 19:01