# CVE-2026-10248: SourceCodester Pharmacy Sales and Inventory System CSV injection in Supplier Creation Interface

Source: https://junglewise.ai/threats/cve-2026-10248-sourcecodester-pharmacy-sales-and-inventory-system-csv-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-01. Updated: 2026-06-01  
License: CC BY 4.0 with a link back

CVE-2026-10248 · Severity: medium · CVSS 4.7 · Published 2026-06-01

A vulnerability exists in the SourceCodester Pharmacy Sales and Inventory System, a software used to manage pharmaceutical stock and sales. An attacker with administrative access can inject malicious formulas into supplier records. When another user exports this data to a CSV file and opens it in a spreadsheet program like Excel, the malicious code can execute, potentially leading to the theft of sensitive data or unauthorized access to the user's computer.

Technologies: [SourceCodester Pharmacy Sales and Inventory System](https://junglewise.ai/threats/technologies/pharmacy-sales-and-inventory-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-10248 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-10248 being exploited in the wild.

**How severe is CVE-2026-10248?** Medium severity, with a CVSS score of 4.7, published 1 June 2026.

**Which products and versions are affected?** SourceCodester Pharmacy Sales and Inventory System 1.0.

**Is there a fix for CVE-2026-10248?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-10248 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-10248?** Check whether you run SourceCodester Pharmacy Sales and Inventory System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A CSV Injection (Formula Injection) vulnerability exists in the 'create_supplier' function within the '/Export_csv/export' component of SourceCodester Pharmacy Sales and Inventory System v1.0. The application fails to sanitize user-supplied input in fields such as 'Address' and 'Company Name' before including them in CSV exports. An attacker with high privileges (PR:H) can inject spreadsheet formulas (starting with =, +, -, or @). When an administrator exports the supplier list and opens it in a spreadsheet application like Microsoft Excel or WPS Spreadsheet, these formulas execute. This can be used for data exfiltration via HYPERLINK functions or potential remote command execution depending on the spreadsheet environment. A public exploit (PoC) has been disclosed.

## Affected products

- SourceCodester Pharmacy Sales and Inventory System 1.0

## Timeline

- 2026-05-09: disclosed: Vulnerability details and PoC shared on GitHub.
- 2026-06-01: advisory: CVE-2026-10248 published.

## References

- [https://github.com/timeflies123/cve/issues/6](https://github.com/timeflies123/cve/issues/6)
- [https://vuldb.com/cve/CVE-2026-10248](https://vuldb.com/cve/CVE-2026-10248)
- [https://vuldb.com/submit/824029](https://vuldb.com/submit/824029)
- [https://vuldb.com/vuln/367526](https://vuldb.com/vuln/367526)
- [https://vuldb.com/vuln/367526/cti](https://vuldb.com/vuln/367526/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Pharmacy Sales and Inventory System improper access control in ShowForm](https://junglewise.ai/threats/cve-2026-10255-sourcecodester-pharmacy-sales-and-inventory-system-improper)
- [SourceCodester Pharmacy Sales and Inventory System XSS in create_generic_name](https://junglewise.ai/threats/cve-2026-10247-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-create)
- [SourceCodester Pharmacy Sales and Inventory System XSS in create_medicine_presentation](https://junglewise.ai/threats/cve-2026-10246-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-create)
- [SourceCodester Pharmacy Sales and Inventory System XSS in create_supplier](https://junglewise.ai/threats/cve-2026-10245-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-create)
- [SourceCodester Pharmacy Sales and Inventory System XSS in medicine_name](https://junglewise.ai/threats/cve-2026-10244-sourcecodester-pharmacy-sales-and-inventory-system-xss-in)
