CVE-2025-56162

Published Oct 2, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-32190 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.
History
Type Values Removed Values Added
First Time appeared Yiovo
Yiovo firefly Mall
CPEs cpe:2.3:a:xany:yoshop2.0:-:*:*:*:*:*:*:* cpe:2.3:a:yiovo:firefly_mall:*:*:*:*:open_source:*:*:*
Vendors & Products Xany
Xany yoshop2.0
Yiovo
Yiovo firefly Mall
Type Values Removed Values Added
First Time appeared Xany
Xany yoshop2.0
CPEs cpe:2.3:a:xany:yoshop2.0:-:*:*:*:*:*:*:*
Vendors & Products Xany
Xany yoshop2.0
Type Values Removed Values Added
First Time appeared Yoshop
Yoshop yoshop
Vendors & Products Yoshop
Yoshop yoshop
Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 2, 2025, 7:26 PM
Reserved
Aug 16, 2025, 12:00 AM
Status
Analyzed
Published
Oct 2, 2025, 4:15 PM
Modified
Nov 5, 2026, 11:10 PM