CVE-2025-56162 Details
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.
An unauthenticated SQL injection vulnerability has been identified in YOSHOP version 2.0, specifically within the 'goodsIds' parameter of the '/api/goods/listByIds' endpoint. The issue arises because the 'getListByIds' function improperly concatenates user input into a raw SQL query without adequate sanitization. This vulnerability allows attackers to enumerate or modify database information, such as dumping admin password hashes, and on MySQL servers with sufficient privileges, it could be exploited to execute remote code by writing web-shells or using 'xp_cmdshell'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitee.com/xany/yoshop2.0 | [email protected] | Product |
| https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| yiovo firefly mall | >= 2.01 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2025 | Reanalysis | [email protected] |
| Oct 7, 2025 | Initial Analysis | [email protected] |
| Oct 2, 2025 | CVE Modified | CISA-ADP |
| Oct 2, 2025 | New CVE Received | [email protected] |