CVE-2026-10255 Details
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.
A broken access control vulnerability has been identified in SourceCodester Pharmacy Sales and Inventory System version 1.0. The issue resides in the 'sell_statement' function of 'application/controllers/ShowForm.php', where improper access controls allow unauthenticated users to view sensitive sales records. This vulnerability can be exploited remotely, and a similar issue exists in the 'supplier_payment' endpoint, exposing supplier payment information.
To address this vulnerability, fix the logical operator in the access control check by changing it to require proper authentication. Implement role-based access control to restrict access to sensitive information based on user roles. Additionally, add authentication middleware to protect all sensitive endpoints and conduct regular security audits to identify and fix similar 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/7 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/cve/CVE-2026-10255 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/824148 | [email protected] | Permission Required |
| https://vuldb.com/vuln/367533 | [email protected] | Permission Required |
| https://vuldb.com/vuln/367533/cti | [email protected] | Content Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
| CWE-284 | Improper Access Control | [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