Home

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.

PUBLISHED Reserved 2025-08-16 | Published 2025-10-02 | Updated 2025-10-02 | Assigner mitre

References

gitee.com/xany/yoshop2.0

github.com/...9158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md

cve.org (CVE-2025-56162)

nvd.nist.gov (CVE-2025-56162)

Download JSON