---
id: "CVE-2026-112096"
kind: "vulnerability"
aliases: ["CVE-2026-112096"]
title: "SourceCodester Inventory System: stored XSS in purchase record fields"
severity: "medium"
cvss: 4.0
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["inventory-system", "other", "php", "self-hosted"]
not_affected_if: ["unknown"]
published_at: "2026-10-19T09:17:07+00:00"
first_seen_at: "2026-10-23T21:57:17+00:00"
updated_at: "2026-10-25T04:42:00+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112096", "first_seen_at": "2026-10-23T21:57:17+00:00"}]
---

# SourceCodester Inventory System: stored XSS in purchase record fields

The SourceCodester Inventory System 1.0 purchase records handler does not sanitize the Product_Name, Product_Code and Vendor_Name arguments on the save_purchase action. An attacker can inject script that runs in the browser of a user who views those records.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- unknown

## Fix

- unknown

## Timeline

- 2026-10-23T21:57:17+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112096

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
