CVE-2025-57204 Details
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.
A stored cross-site scripting vulnerability has been identified in Stocky POS with Inventory Management & HRM (ui-lib) version 5.0. This vulnerability exists within the Products module, specifically in the product name parameter submitted through the product creation endpoint via a standard POST form. The issue arises from inadequate input sanitization and output encoding, allowing authenticated users to inject HTML or JavaScript payloads. Once injected, these payloads are stored and later executed unsanitized in various product views, including the product listing and detail pages. This vulnerability enables authenticated attackers to execute arbitrary JavaScript in the context of other users, potentially leading to session hijacking, privilege escalation, data exfiltration, or administrative account takeover.
Developers are advised to sanitize input by removing or neutralizing HTML and JavaScript in text fields, implement contextual output encoding before rendering dynamic content, and reject dangerous tags such as scripts and event-driven HTML elements. Additionally, a restrictive Content Security Policy should be enforced to disable inline JavaScript execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50 | CISA-ADP | ExploitThird Party Advisory |
| https://codecanyon.net/item/stockyultimate-inventory-management-system-with-pos/31445124 | [email protected] | Product |
| https://grumpz.net/cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-management-and-hrm-ui-lib-50 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| ui-lib stocky | 5.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | Initial Analysis | [email protected] |
| Sep 24, 2025 | CVE Modified | CISA-ADP |
| Sep 22, 2025 | New CVE Received | [email protected] |