YOSHOP 2.0 allows unauthenticated information disclosure...
High severity
Unreviewed
Published
Oct 2, 2025
to the GitHub Advisory Database
•
Updated Oct 2, 2025
Description
Published by the National Vulnerability Database
Oct 2, 2025
Published to the GitHub Advisory Database
Oct 2, 2025
Last updated
Oct 2, 2025
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.
References