SourceCodester Inventory Management System CSV Injection Vulnerability in SVC Report Export Component

Vulnerability

A critical CSV injection vulnerability has been identified in SourceCodester Inventory Management System version 1.0. The issue arises in the SVC Report Export feature, where an authenticated attacker can inject malicious payloads into item descriptions. These payloads are executed when the file is exported and opened in spreadsheet applications like Microsoft Excel or LibreOffice. This vulnerability could lead to remote code execution on the user's machine upon opening the exported file, posing significant risks to administrators who frequently export inventory data.

Impact

Exploitation of this vulnerability allows for CSV injection, where injected formulas are executed as commands when the file is opened in a spreadsheet application. In this case, it could lead to remote code execution on the victim's machine.

Reproduction

To reproduce this vulnerability, an authenticated user must inject a formula payload into an item description within the SourceCodester Inventory Management System. Once the description is saved, the user can export the report as an '.svc' file. When this file is opened in a spreadsheet program, the injected formula will execute, demonstrating the CSV injection.

Added: Dec 8, 2025, 11:17 AM
Updated: Dec 8, 2025, 7:33 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.3
remediation
0.0
relevance
1.3
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.