CVE-2026-10248: SourceCodester Pharmacy Sales and Inventory System Supplier Creation export create_supplier csv injection

Published Jun 1, 2026
·
Updated

A vulnerability was determined in SourceCodester Pharmacy Sales and Inventory System up to 1.0. This issue affects the function createsupplier of the file /Exportcsv/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.

Affected Software

1 affected component
Sourcecodester SourceCodester Pharmacy Sales and Inventory System<=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove SourceCodester Pharmacy Sales and Inventory System /Export_csv/export (Supplier Creation Interface) from your environment.

    If CSV export is not required, disable or uninstall the CSV export functionality (remove or disable the file /Export_csv/export and/or the create_supplier export) until a secure fix or mitigation is implemented.

  2. Configuration

    When generating CSV from create_supplier (file /Export_csv/export), validate and escape the Address and Company Name fields to neutralize CSV formula injection (e.g., detect fields starting with =, +, - or @ and prefix them with a single quote or otherwise escape them before writing to the CSV).

    SourceCodester Pharmacy Sales and Inventory System - /Export_csv/export (Supplier Creation Interface) Address/Company Name sanitization for CSV export = escape or neutralize leading formula characters (=, +, -, @) or prefix fields with a single quote
  3. Compensating control

    Restrict access to the /Export_csv/export endpoint and related export functionality to trusted/internal IP ranges and authenticated users (apply firewall rules, network ACLs or WAF rules to block public/untrusted access) to reduce risk of remote exploitation.

  4. Operational

    Scan existing supplier records and previously exported CSV files for fields beginning with '=', '+', '-', or '@'; sanitize or remove malicious values, regenerate sanitized exports, and notify affected users or administrators of potentially malicious entries.

Event History

Jun 1, 2026
CVE Published
via MITRE·10:15 AM
Data Sourced
via MITRE·10:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-10248?

The severity of CVE-2026-10248 is medium with a score of 4.7.

2

What is CVE-2026-10248?

CVE-2026-10248 is a vulnerability that allows for CSV injection through the create_supplier function in the SourceCodester Pharmacy Sales and Inventory System.

3

How do I fix CVE-2026-10248?

To fix CVE-2026-10248, validate and sanitize user input in the Supplier Creation Interface before processing it.

4

What impact does CVE-2026-10248 have on data integrity?

CVE-2026-10248 can lead to potential data integrity issues through CSV injection when exporting supplier data.

5

Who is affected by CVE-2026-10248?

CVE-2026-10248 affects users of the SourceCodester Pharmacy Sales and Inventory System up to version 1.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203