CVE-2025-56162

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:yiovo:firefly_mall:*:*:*:*:open_source:*:*:*

History

05 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) 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.

30 Oct 2025, 18:33

Type Values Removed Values Added
First Time Yiovo firefly Mall
Yiovo
CPE cpe:2.3:a:xany:yoshop2.0:-:*:*:*:*:*:*:* cpe:2.3:a:yiovo:firefly_mall:*:*:*:*:open_source:*:*:*

07 Oct 2025, 17:48

Type Values Removed Values Added
References () https://gitee.com/xany/yoshop2.0 - () https://gitee.com/xany/yoshop2.0 - Product
References () https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md - () https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md - Exploit, Third Party Advisory
First Time Xany yoshop2.0
Xany
CPE cpe:2.3:a:xany:yoshop2.0:-:*:*:*:*:*:*:*

02 Oct 2025, 20:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE CWE-89

02 Oct 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-02 16:15

Updated : 2026-11-05 23:10


NVD link : CVE-2025-56162

Mitre link : CVE-2025-56162

CVE.ORG link : CVE-2025-56162


JSON object : View

Products Affected

yiovo

  • firefly_mall
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')