Read the docs

Cross-site scripting in SourceCodester Inventory System Purchase Records

Priority MEDIUM 56CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting, Code execution
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79 and CWE-94.

Summary

SourceCodester Inventory System 1.0 contains a cross-site scripting flaw in the Purchase Records handler at /api/transactions_handler.php?action=save_purchase. The Product_Name, Product_Code and Vendor_Name arguments are not neutralized, which is classified as CWE-79. A remote attacker with low privileges and user interaction can run script in a victim's browser. The exploit has been publicly disclosed and may be used.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00199 9th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SourceCodesterInventory System1.0—No fix listedCNA
  • Inventory System VendorSourceCodester Affected 1.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:*——SourceCodester
  • cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:* Versions — — ·SourceCodester

Remediation

The sources list no fixed version for SourceCodester Inventory System.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Timeline

  1. 2026-10-19 Threatist record created from CVE-2026-112096
  2. 2026-10-19 Alias added: GHSA-m7g6-4763-pv2w
  3. 2026-10-19 CISA SSVC decision points changed
  4. 2026-10-19 Priority changed: LOW → MEDIUM

References

  • TI-2024-03188 SourceCodester Online Courseware deactivateteach.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2024-03160 SourceCodester Computer Laboratory Management System config.php redirect CVSS 3.1CRITICAL 9.8
  • TI-2024-03131 SourceCodester Airline Ticket Reservation System activate_jet_details_form_handler.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2024-01794 SourceCodester Web-Based Student Clearance System login.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2023-05341 SourceCodester Simple Real Estate Portal System view_estate.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2023-04857 SourceCodester Engineers Online Portal remove_inbox_message.php sql injection CVSS 3.1CRITICAL 9.8
See all 2062 →

Sources