CVE-2026-10248 Details
Description
A vulnerability was determined in SourceCodester Pharmacy Sales and Inventory System up to 1.0. This issue affects the function create_supplier of the file /Export_csv/export of the component Supplier Creation Interface. This manipulation of the argument Address/Company Name causes csv injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.
A CSV injection vulnerability has been identified in SourceCodester Pharmacy Sales and Inventory System versions through 1.0. The issue arises in the supplier creation interface, specifically within the 'create_supplier' function of the '/Export_csv/export' file. The vulnerability allows for the injection of malicious formulas into CSV exports by exploiting unsanitized user input in fields such as 'Address', 'Company Name', 'Mobile', and 'Previous Due'. When the exported CSV file is opened in spreadsheet applications like Microsoft Excel or WPS Spreadsheet, these formulas are executed, potentially leading to unauthorized actions.
To address this vulnerability, sanitize CSV output by prefixing dangerous characters with a single quote or tab to treat them as plain text. Implement checks to block formula injection characters before writing data to CSV. Use secure CSV export headers and apply output encoding to all user-controllable fields before exporting. Regular security audits should also be conducted to identify and fix potential CSV injection vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 1, 2026CISA-ADP
Assessed Jun 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/timeflies123/cve/issues/6 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/cve/CVE-2026-10248 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/824029 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/367526 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/367526/cti | [email protected] | Content Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1236 | Improper Neutralization of Formula Elements in a CSV File | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Pharmacy Sales and Inventory System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | New CVE Received | [email protected] |
Volerion