CVE-2025-56162 SQL injection in n/a
Unauthenticated SQL injection in YOSHOP allows attackers to dump database data and potentially execute remote code via web shells or xp_cmdshell.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-56162?
CVE-2025-56162 is a medium-severity SQL injection vulnerability in n/a, published on 2 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2025-56162?
It affects 1 product.
Products include Yiovo Firefly Mall.
How do I fix CVE-2025-56162?
No fix has been published for CVE-2025-56162 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-56162 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-56162 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-wfc7-vvw3-2pq2.