CVE-2025-57204

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ui-lib:stocky:5.0:*:*:*:*:wordpress:*:*

History

03 Oct 2025, 17:45

Type Values Removed Values Added
CPE cpe:2.3:a:ui-lib:stocky:5.0:*:*:*:*:wordpress:*:*
First Time Ui-lib stocky
Ui-lib
References () https://codecanyon.net/item/stockyultimate-inventory-management-system-with-pos/31445124 - () https://codecanyon.net/item/stockyultimate-inventory-management-system-with-pos/31445124 - Product
References () https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50 - () https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50 - Exploit, Third Party Advisory

24 Sep 2025, 15:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
References () https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50 - () https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50 -
CWE CWE-79

22 Sep 2025, 21:22

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-22 21:15

Updated : 2025-10-03 17:45


NVD link : CVE-2025-57204

Mitre link : CVE-2025-57204

CVE.ORG link : CVE-2025-57204


JSON object : View

Products Affected

ui-lib

  • stocky
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')