CVE-2026-39380 Open Source Point of Sale has Stored XSS in Stock Location (Configuration)

Medium 5.4 Published Updated

Attackers can inject malicious JavaScript via the stock location configuration, leading to code execution in the employee interface.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-39380?

CVE-2026-39380 is a medium-severity cross-site scripting vulnerability in opensourcepos, published on 7 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Open Source Point of Sale is a web based point-of-sale application written in PHP using CodeIgniter framework. Prior to 3.4.3, a Stored Cross-Site Scripting (XSS) vulnerability exists in the Stock Locations configuration feature. The application fails to properly sanitize user input supplied through the stock_location parameter, allowing attackers to inject malicious JavaScript code that is stored in the database and executed when rendered in the Employees interface. This vulnerability is fixed in 3.4.3.

Weakness: CWE-79

Which versions are affected by CVE-2026-39380?

It affects 1 product.

Products include Opensourcepos Open Source Point of Sale.

How do I fix CVE-2026-39380?

No fix has been published for CVE-2026-39380 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-39380 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39380 exists.

Sources

Also known as GHSA-7hg5-68rx-xpmg.

Is CVE-2026-39380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free