CVE-2026-7128: SourceCodester Pharmacy Sales and Inventory System ajax.php sql injection

Published Apr 27, 2026
·
Updated

A security vulnerability has been detected in SourceCodester Pharmacy Sales and Inventory System 1.0. This issue affects some unknown processing of the file /ajax.php?action=savetype. Such manipulation of the argument ID leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.

Affected Software

1 affected component
Sourcecodester SourceCodester Pharmacy Sales and Inventory System=1.0

Event History

Apr 27, 2026
CVE Published
via MITRE·01:30 PM
Data Sourced
via MITRE·01:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Oct 6, 58306
Event
via FIRST·04:22 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-7128?

CVE-2026-7128 is a high severity SQL injection vulnerability affecting SourceCodester Pharmacy Sales and Inventory System 1.0.

2

How do I fix CVE-2026-7128?

To fix CVE-2026-7128, you should sanitize and validate all user inputs in the ajax.php file to prevent SQL injection.

3

What version of SourceCodester Pharmacy Sales and Inventory System is affected by CVE-2026-7128?

CVE-2026-7128 affects version 1.0 of the SourceCodester Pharmacy Sales and Inventory System.

4

What file is vulnerable in CVE-2026-7128?

The vulnerable file in CVE-2026-7128 is /ajax.php, specifically when processing the 'action=save_type' parameter.

5

What type of attack can occur due to CVE-2026-7128?

CVE-2026-7128 can allow an attacker to execute arbitrary SQL queries on the database, leading to data compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203