CVE-2026-7746

SourceCodester Web-based Pharmacy Product Management System edit-admin.php sql injection

Published May 4, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw resides in edit-admin.php of SourceCodester Web-based Pharmacy Product Management System 1.0. By manipulating the ID argument, an attacker can inject arbitrary SQL statements into the query that retrieves product expiry data. This vulnerability enables attackers to read, modify or delete database records through HTTP requests. The intrusion occurs remotely, requiring no local access; consequences include data exfiltration, integrity compromise, and potential financial loss.

Affected Systems

SourceCodester Web-based Pharmacy Product Management System version 1.0 is affected. The vulnerability exists in the edit-admin.php component of the product.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, with remote exploitation possible via HTTP requests. The EPSS score is not available, but the publicly available exploit suggests it is a known vulnerability that attackers could use. The vulnerability is not listed in CISA KEV, so it has not yet been confirmed as exploited in the wild at this time. Attackers could craft malicious requests targeting the ID parameter to inject SQL, potentially gaining unauthorized database access. The lack of detailed privilege escalation hints that the impact is limited to the application’s database credentials, but any data manipulation could have significant ramifications.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s patch or upgrade to a newer version that addresses the SQL injection in edit‑admin.php.
  • Implement parameterized queries or proper input sanitization for all database operations involving the ID parameter.
  • Restrict access to edit‑admin.php so that only authenticated administrators can invoke it, and enforce strict role‑based access controls.

Generated by OpenCVE AI on May 4, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester web-based Pharmacy Product Management System
Vendors & Products Sourcecodester
Sourcecodester web-based Pharmacy Product Management System
Type Values Removed Values Added
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.
Title SourceCodester Web-based Pharmacy Product Management System edit-admin.php sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 4, 2026, 5:49 PM
Reserved
May 3, 2026, 5:18 PM
Status
Deferred
Published
May 4, 2026, 9:16 AM
Modified
Oct 26, 2026, 12:10 AM