CVE-2025-57204
JSON

5.4medium

Stocky POS with Inventory Management & HRM (ui-lib) version 5.0 is affected by a Stored Cross-Site Scripting (XSS) vulnerability within the…

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
ui-lib stocky5.0NVD

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-57204 changed 2025-09-24CVE Terms of Use
NVDCVE-2025-57204 changed 2026-11-05Public domain