# CVE-2025-56162: YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint.

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 43% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-02T00:00:00.000Z
- Modified: 2026-11-05T23:10:00.150Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yiovo firefly_mall: from 2.01

## References

- <https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md> (exploit, third-party-advisory)
- <https://gitee.com/xany/yoshop2.0> (product)

## Sources

- CVE List: [CVE-2025-56162](https://www.cve.org/CVERecord?id=CVE-2025-56162), CVE Terms of Use, modified 2025-10-02
- NVD: [CVE-2025-56162](https://nvd.nist.gov/vuln/detail/CVE-2025-56162), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-56162 · Whole record: https://cve.day/CVE-2025-56162.json · Rebuilt by cve.day 2026-11-25T22:59:05.447Z
