Junglewise Threat Intelligence

CVE-2026-32712: Open Source Point of Sale Stored XSS in Daily Sales table

CVE-2026-32712 · Severity: medium · CVSS 5.4 · Published 2026-04-07

Technologies: Opensourcepos Open Source Point of Sale. Vendors: Opensourcepos.

Executive brief

Open Source Point of Sale is a web-based application used by businesses to manage retail transactions and customer data. A security flaw allows a user with basic customer management permissions to save malicious code into a customer's name field. When an administrator or another employee views the daily sales reports, this code executes in their browser, potentially allowing the attacker to perform unauthorized actions or steal sensitive session information.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in Open Source Point of Sale (OSPOS) due to improper output encoding in the Daily Sales management table. Specifically, the 'customer_name' column in the bootstrap-table configuration is explicitly set to 'escape: false' within 'app/Helpers/tabular_helper.php', causing the application to render customer names as raw HTML. An attacker with low-level customer management privileges can inject a malicious payload into the 'first_name' or 'last_name' fields. When a victim (such as an administrator) views the Daily Sales page (/sales/manage), the payload executes in their browser context. While HttpOnly flags protect session cookies, an attacker can still perform CSRF-based actions or exfiltrate page content. The issue is resolved in version 3.4.3 by removing 'customer_name' from the escape exception regex.

Affected products

  • opensourcepos Open Source Point of Sale (OSPOS) < 3.4.3

Timeline

  • 2026-04-07: advisory: GitHub Security Advisory published
  • 2026-04-07: disclosed: CVE-2026-32712 published
  • 2026-04-07: patched: Fixed in version 3.4.3

References

Related threats