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

Published Apr 13, 2026
·
Updated

A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. The affected element is an unknown function of the file /ajax.php?action=login. Such manipulation of the argument Username leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Affected Software

1 affected component
Sourcecodester Pharmacy Sales and Inventory System=1.0

Event History

Apr 13, 2026
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
May 18, 58294
Event
via NVD·10:30 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-6189?

CVE-2026-6189 has a medium severity rating of 5.5.

2

How do I fix CVE-2026-6189?

To fix CVE-2026-6189, you should implement prepared statements or parameterized queries in the affected ajax.php file to prevent SQL injection.

3

What is the impact of exploiting CVE-2026-6189?

Exploiting CVE-2026-6189 can allow an attacker to perform SQL injection, potentially leading to unauthorized access to the database.

4

Which software is affected by CVE-2026-6189?

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

5

Is CVE-2026-6189 remotely exploitable?

Yes, CVE-2026-6189 can be exploited remotely, making it a significant security concern.

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