opensourcepos
cpe:2.3:a:opensourcepos:open_source_point_of_sale:*:*:*:*:*:*:*
- 3.4.0
- 3.4.1
A stored cross-site scripting vulnerability has been identified in Open Source Point of Sale (OSPOS) versions 3.4.0 and 3.4.1. The issue resides within the Configuration (Information) feature, where an authenticated user with the permission to change OSPOS's configuration can inject a malicious JavaScript payload into the Company Name field. This payload is stored and executed when the user accesses the sales completion page. The vulnerability arises from inadequate input validation and output encoding, allowing the injected script to run in the user's browser.
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user.
To reproduce this vulnerability, an authenticated user with the appropriate permissions can navigate to the Configuration Information section and enter a JavaScript payload into the Company Name field. After saving the changes, the payload will be executed when the user accesses the sales completion page.
Users can upgrade to Open Source Point of Sale version 3.4.2, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.