Vulnerability

CVE-2025-57204

mediumCVSS 3.1 5.4Published 22 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Ui Lib stocky

Weakness type

References

  • codecanyon.net /item/stockyultimate-inventory-management-system-with-pos/3…
  • grumpz.net /cve-2025-57204-stored-xss-in-stocky-pos-with-inventory-man…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning