Description
A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this vulnerability is the function sell_statement of the file application/controllers/ShowForm.php. Such manipulation leads to improper access controls. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Published: 2026-06-01
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A weakness in the sell_statement function of SourceCodester Pharmacy Sales and Inventory System allows improper access controls, giving an attacker the ability to view sales statements that should be restricted to authorized users. The CVE description confirms that the issue can be exploited remotely, and the referenced CWE identifiers indicate an authorization bypass and improper access control flaw.

Affected Systems

SourceCodester Pharmacy Sales and Inventory System version 1.0 is affected. No other vendors or product versions are listed.

Risk and Exploitability

The CVSS score of 6.9 places this vulnerability in the medium severity range. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. Attackers can launch the exploit remotely, potentially exposing confidential sales data and creating a foothold for further attacks if additional sensitive areas are accessible. While the impact is not critical, the ability to bypass access controls over a public endpoint warrants immediate attention.

Generated by OpenCVE AI on June 1, 2026 at 14:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Implement proper authentication and role-based authorization checks in the sell_statement function to ensure only privileged users can access sales statements.
  • Apply any vendor‑supplied patch or update released for Pharmacy Sales and Inventory System that addresses the access control issue as soon as it becomes available.
  • If no patch exists, modify the application logic to explicitly verify the user’s session and role before generating the sales report, or restrict the endpoint to authenticated users only.
  • As a temporary safety measure, restrict web access to application/controllers/ShowForm.php via .htaccess or move it outside the web‑root until the flaw is corrected.

Generated by OpenCVE AI on June 1, 2026 at 14:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 01 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 01 Jun 2026 13:00:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this vulnerability is the function sell_statement of the file application/controllers/ShowForm.php. Such manipulation leads to improper access controls. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Pharmacy Sales and Inventory System ShowForm.php sell_statement access control
First Time appeared Sourcecodester
Sourcecodester pharmacy Sales And Inventory System
Weaknesses CWE-266
CWE-284
CPEs cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester pharmacy Sales And Inventory System
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Sourcecodester Pharmacy Sales And Inventory System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-06-01T12:00:07.625Z

Reserved: 2026-05-31T12:32:01.559Z

Link: CVE-2026-10255

cve-icon Vulnrichment

Updated: 2026-06-01T14:58:02.473Z

cve-icon NVD

Status : Deferred

Published: 2026-06-01T13:16:29.717

Modified: 2026-06-01T15:15:37.293

Link: CVE-2026-10255

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-01T14:45:26Z

Weaknesses