CVE-2026-7746 Details
Description
A vulnerability was identified in SourceCodester Web-based Pharmacy Product Management System 1.0. Affected is an unknown function of the file /product_expiry/edit-admin.php. Such manipulation of the argument ID leads to sql injection. It is possible to launch the attack remotely. The exploit is publicly available and might be used.
A SQL injection vulnerability has been identified in SourceCodester Web-Based Pharmacy Product Management System version 1.0. The issue arises in the file edit-admin.php, where the ID parameter is not properly validated, allowing authenticated remote attackers to manipulate SQL queries. This vulnerability has been confirmed through automated testing with sqlmap, which successfully identified the injection point and demonstrated the ability to exploit it.
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, implement strict input validation and whitelisting for user-supplied data. Regular code security reviews and security testing should also be conducted.
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 May 4, 2026CISA-ADP
Assessed May 4, 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/mjh134/CVE/issues/1 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/807693 | [email protected] | Permission Required |
| https://vuldb.com/vuln/360921 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/360921/cti | [email protected] | AdvisoryPermission Required |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Web-based Pharmacy Product Management System | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 4, 2026 | New CVE Received | [email protected] |
Volerion