VYPR
Medium severity6.3NVD Advisory· Published Apr 29, 2026· Updated Apr 29, 2026

CVE-2026-7391

CVE-2026-7391

Description

A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function save_supplier of the file /ajax.php?action=save_supplier. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit has been published and may be used.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 via id parameter in save_supplier allows unauthenticated remote attackers to execute arbitrary SQL commands.

Vulnerability

Description

A SQL injection vulnerability exists in SourceCodester Pharmacy Sales and Inventory System 1.0 within the /ajax.php?action=save_supplier endpoint. The root cause is insufficient validation of the id parameter, which is directly concatenated into SQL queries without sanitization [1]. This allows an attacker to inject malicious SQL code.

Exploitation

The vulnerability can be exploited remotely without authentication. An attacker sends a crafted POST request with a malicious id parameter in multipart form data. The exploit is publicly available, including proof-of-concept payloads [1].

Impact

Successful exploitation enables an attacker to perform unauthorized database operations, including reading, modifying, or deleting data, gaining access to sensitive information, and potentially achieving full system control. This can lead to data breaches, data tampering, and service disruption [1].

Mitigation

As of the publication date, no official patch has been released by the vendor. Users are advised to apply input validation and parameterized queries to mitigate the risk. Given the public availability of exploit code, immediate action is recommended.

AI Insight generated on May 18, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.