Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ui-Lib | Stocky | 5.0 |
Related Weaknesses (CWE)
References
- https://codecanyon.net/item/stockyultimate-inventory-management-system-with-pos/Product
- https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-manageExploitThird Party Advisory
- https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-manageExploitThird Party Advisory
FAQ
What is CVE-2025-57204?
CVE-2025-57204 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 vulner...
How severe is CVE-2025-57204?
CVE-2025-57204 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-57204?
Check the references section above for vendor advisories and patch information. Affected products include: Ui-Lib Stocky.