Vulnerability Description
YOSHOP 2.0 allows unauthenticated information disclosure via comment-list API endpoints in the Goods module. The Comment model eagerly loads the related User model without field filtering; because User.php defines no $hidden or $visible attributes, sensitive fields (bcrypt password hash, mobile number, pay_money, expend_money.) are exposed in JSON responses. Route names vary per deployment (e.g. /api/goods.pinglun/list), but all call the same vulnerable model logic.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Yiovo | Firefly Mall | >= 2.01 |
Related Weaknesses (CWE)
References
- https://gitee.com/xany/yoshop2.0Product
- https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97ExploitThird Party Advisory
FAQ
What is CVE-2025-56161?
CVE-2025-56161 is a vulnerability with a CVSS score of 7.5 (HIGH). YOSHOP 2.0 allows unauthenticated information disclosure via comment-list API endpoints in the Goods module. The Comment model eagerly loads the related User model without field filtering; because Use...
How severe is CVE-2025-56161?
CVE-2025-56161 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-56161?
Check the references section above for vendor advisories and patch information. Affected products include: Yiovo Firefly Mall.