SourceCodester Inventory System XSS in transactions_handler.php save_sale
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 save_sale action of /api/transactions_handler.php, part of the Sales Management Handler component. Manipulating the Hsn_Code argument injects script into the page, and the attack can be launched remotely. CVSS 4.0 rates it 5.1 (MEDIUM) with a vector requiring low privileges and user interaction, and it is classified under CWE-79 and CWE-94.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
A vulnerability was found in SourceCodester Inventory System 1.0. This issue affects some unknown processing of the file /api/transactions_handler.php?action=save_sale of the component Sales Management Handler. The manipulation of the argument Hsn_Code results in cross site scripting. It is possible to launch the attack remotely.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| SourceCodester | Inventory System | 1.0 | — | No fix listed | CNA |
- Inventory System VendorSourceCodester Affected 1.0 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:* | — | — | SourceCodester |
- cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:* Versions — — ·SourceCodester
Remediation
No fix is listed for Inventory System by SourceCodester as of publication. Restrict access to the transactions handler, validate and encode the Hsn_Code input on output, or replace the product until a patched version is released.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-19 Threatist record created from CVE-2026-112097
- 2026-10-19 Alias added: GHSA-hj67-qgx7-c3rj
- 2026-10-19 CISA SSVC decision points changed
References
More SourceCodester vulnerabilities
- 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
Sources
- CVE-2026-112097 · CVE Program
- CVE-2026-112097 · NVD
- FIRST EPSS
- GHSA-hj67-qgx7-c3rj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences