CVE-2026-112096 SourceCodester Inventory System Purchase Records transactions_handler.php save_purchase cross site scripting

Medium 5.1 Published Updated

Attackers can inject malicious scripts via product or vendor fields in the purchase handler, potentially compromising user sessions.

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-112096?

CVE-2026-112096 is a medium-severity cross-site scripting vulnerability in SourceCodester Inventory System, published on 19 Oct 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

A vulnerability has been found in SourceCodester Inventory System 1.0. This vulnerability affects unknown code of the file /api/transactions_handler.php?action=save_purchase of the component Purchase Records Handler. The manipulation of the argument Product_Name/Product_Code/Vendor_Name leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-112096?

How do I fix CVE-2026-112096?

No fix has been published for CVE-2026-112096 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-112096 being exploited?

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

Sources

Also known as GHSA-m7g6-4763-pv2w.

Is CVE-2026-112096 in your software?

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

Check your SBOMs for free