CVE-2025-57204
Full vulnerability record from the local CVENow database.
Description
Stocky POS with Inventory Management & HRM (ui-lib) version 5.0 is affected by a Stored Cross-Site Scripting (XSS) vulnerability within the Products module available to authenticated users. The vulnerability resides in the product name parameter submitted to the product-creation endpoint via a standard POST form. Due to insufficient input sanitization and output encoding, attackers can inject HTML/JS payloads. The payload is stored and subsequently rendered unsanitized in downstream views, leading to JavaScript execution in other users' browsers when they access the affected product pages. This issue allows an authenticated attacker to execute arbitrary JavaScript in the context of another user, potentially enabling session hijacking, privilege escalation within the application, data exfiltration, or administrative account takeover. The application also lacks a restrictive Content Security Policy (CSP), increasing exploitability.
View original CVE JSON
{
"id": "CVE-2025-57204",
"sourceIdentifier": "[email protected]",
"published": "2025-09-22T21:15:59.757",
"lastModified": "2026-11-05T23:10:00.150",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Stocky POS with Inventory Management & HRM (ui-lib) version 5.0 is affected by a Stored Cross-Site Scripting (XSS) vulnerability within the Products module available to authenticated users. The vulnerability resides in the product name parameter submitted to the product-creation endpoint via a standard POST form. Due to insufficient input sanitization and output encoding, attackers can inject HTML/JS payloads. The payload is stored and subsequently rendered unsanitized in downstream views, leading to JavaScript execution in other users' browsers when they access the affected product pages. This issue allows an authenticated attacker to execute arbitrary JavaScript in the context of another user, potentially enabling session hijacking, privilege escalation within the application, data exfiltration, or administrative account takeover. The application also lacks a restrictive Content Security Policy (CSP), increasing exploitability."
},
{
"lang": "es",
"value": "Stocky POS con Gestión de Inventario y HRM (ui-lib) versión 5.0 está afectado por una vulnerabilidad de Cross-Site Scripting Almacenado (XSS) dentro del módulo de Productos disponible para usuarios autenticados. La vulnerabilidad reside en el parámetro del nombre del producto enviado al endpoint de creación de productos a través de un formulario POST estándar. Debido a la sanitización de entrada y codificación de salida insuficientes, los atacantes pueden inyectar payloads HTML/JS. El payload se almacena y posteriormente se renderiza sin sanitizar en vistas posteriores, lo que lleva a la ejecución de JavaScript en los navegadores de otros usuarios cuando acceden a las páginas de productos afectadas. Este problema permite a un atacante autenticado ejecutar JavaScript arbitrario en el contexto de otro usuario, lo que podría permitir el secuestro de sesión, la escalada de privilegios dentro de la aplicación, la exfiltración de datos o la toma de control de cuentas administrativas. La aplicación también carece de una Política de Seguridad de Contenido (CSP) restrictiva, lo que aumenta la explotabilidad."
}
],
"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:L/UI:R/S:C/C:L/I:L/A:N",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.3,
"impactScore": 2.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-09-24T14:10:02.287958Z",
"id": "CVE-2025-57204",
"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-79"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:ui-lib:stocky:5.0:*:*:*:*:wordpress:*:*",
"matchCriteriaId": "2B384FF2-E0AF-4CD8-A5A6-D1072F09EECC"
}
]
}
]
}
],
"references": [
{
"url": "https://codecanyon.net/item/stockyultimate-inventory-management-system-with-pos/31445124",
"source": "[email protected]",
"tags": [
"Product"
]
},
{
"url": "https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50",
"source": "[email protected]",
"tags": [
"Exploit",
"Third Party Advisory"
]
},
{
"url": "https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Third Party Advisory"
]
}
]
}