{"id":"CVE-2025-56162","aliases":["CVE-2025-56162"],"related":[],"kind":"vulnerability","state":"published","title":"YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint.","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"YOSHOP 2.0 sufre de una inyección SQL no autenticada en el parámetro goodsIds del endpoint /api/goods/listByIds. La función getListByIds concatena la entrada del usuario en orderRaw(’field(goods_id, ...)’), permitiendo a los atacantes: (a) enumerar o modificar datos de la base de datos, incluyendo el volcado de hashes de contraseñas de administrador; (b) escribir archivos web-shell o invocar xp_cmdshell, lo que lleva a la ejecución remota de código en servidores configurados con privilegios de base de datos suficientes.","source":"nvd"}],"published":"2025-10-02T00:00:00.000Z","modified":"2026-11-05T23:10:00.150Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.01"}],"vendor":"yiovo","product":"firefly_mall","cpe":"cpe:2.3:a:yiovo:firefly_mall:*:*:*:*:open_source:*:*:*","source":"nvd"}],"references":[{"url":"https://gitee.com/xany/yoshop2.0","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-10-02T19:26:06.240Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-56162","url":"https://www.cve.org/CVERecord?id=CVE-2025-56162","licence":"CVE Terms of Use","modified":"2025-10-02T19:26:40.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-56162","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56162","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:05.447Z","epss":{"score":0.00604,"percentile":0.43067,"date":"2026-11-30T12:00:22.000Z"}}