OpenSourcePOS Cross-Site Scripting Vulnerability in Item Management and Sales Invoice Function

Vulnerability

A stored cross-site scripting vulnerability has been identified in OpenSourcePOS version 3.4.1. This issue allows authenticated attackers with item management permissions to inject malicious JavaScript into the Item Name field. The injected script is executed in the browsers of users who view invoices containing the tainted item.

Impact

Exploitation of this vulnerability allows for session hijacking of administrative users viewing the affected invoices, potential theft of sensitive financial or customer data, unauthorized actions through injected scripts, and phishing attacks by redirecting users or creating fake login forms.

Reproduction

To reproduce this vulnerability, log in to OpenSourcePOS v3.4.1 with an account that has permissions to manage items. Once logged in, navigate to the item management section and either create a new item or edit an existing one. In the Item Name field, inject a script payload, such as a JavaScript alert. After saving the item, go to the Sales or Receivings module, add the malicious item to a transaction, and complete the sale or invoice. The injected script will execute as soon as the invoice is viewed.

Remediation

Users are advised to update to OpenSourcePOS version 3.4.2 or later, where this vulnerability has been patched.

Added: Feb 13, 2026, 4:25 PM
Updated: Feb 13, 2026, 11:09 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
1.7
exploitability
6.3
remediation
7.7
relevance
3.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.