{"id":"CVE-2025-56162","published":"2025-10-02T00:00:00Z","modified":"2025-10-02T19:26:40Z","title":"YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00492,"percentile":0.43218,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://gitee.com/xany/yoshop2.0","tags":[]},{"url":"https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md","tags":[]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.64},{"name":"CVSS severity","points":4.55}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-10-02T19:26:06.240425Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-32581","exploited":false,"provenance":"source"}}