Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Yiovo | Firefly Mall | >= 2.01 |
Related Weaknesses (CWE)
References
- https://gitee.com/xany/yoshop2.0Product
- https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97ExploitThird Party Advisory
FAQ
What is CVE-2025-56162?
CVE-2025-56162 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2025-56162?
CVE-2025-56162 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-56162?
Check the references section above for vendor advisories and patch information. Affected products include: Yiovo Firefly Mall.