CVE-2025-56161
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-10-02 16:15:34.910000
Last modified
2026-11-05 23:10:00.150000
View original CVE JSON
{
"id": "CVE-2025-56161",
"sourceIdentifier": "[email protected]",
"published": "2025-10-02T16:15:34.910",
"lastModified": "2026-11-05T23:10:00.150",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "YOSHOP 2.0 permite la revelación de información no autenticada a través de los endpoints de la API de lista de comentarios en el módulo de Bienes. El modelo Comment carga ávidamente el modelo User relacionado sin filtrado de campos; porque User.php no define atributos $hidden o $visible, los campos sensibles (hash de contraseña bcrypt, número de móvil, pay_money, expend_money.) se exponen en las respuestas JSON. Los nombres de las rutas varían por despliegue (por ejemplo, /api/goods.pinglun/list), pero todas llaman a la misma lógica de modelo vulnerable."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-02T18:12:53.782827Z",
"id": "CVE-2025-56161",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-200"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:yiovo:firefly_mall:*:*:*:*:open_source:*:*:*",
"versionStartIncluding": "2.01",
"matchCriteriaId": "3D9A314C-46D3-418D-AFAF-93394EFCFF32"
}
]
}
]
}
],
"references": [
{
"url": "https://gitee.com/xany/yoshop2.0",
"source": "[email protected]",
"tags": [
"Product"
]
},
{
"url": "https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56161.md",
"source": "[email protected]",
"tags": [
"Exploit",
"Third Party Advisory"
]
}
]
}