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

Published Apr 27, 2026
·
Updated

A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. Impacted is an unknown function of the file /ajax.php?action=savesales. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.

Affected Software

1 affected component
Sourcecodester Pharmacy Sales and Inventory System=1.0

Event History

Apr 27, 2026
CVE Published
via MITRE·04:30 AM
Data Sourced
via MITRE·04:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
Oct 6, 58306
Event
via FIRST·02:13 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-7087?

CVE-2026-7087 is classified as a critical severity vulnerability due to its potential for SQL injection, which can lead to unauthorized access and data manipulation.

2

How do I fix CVE-2026-7087?

To fix CVE-2026-7087, validate and sanitize user inputs within the ajax.php file to prevent SQL injection attacks.

3

What type of vulnerability is CVE-2026-7087?

CVE-2026-7087 is an SQL injection vulnerability that affects the SourceCodester Pharmacy Sales and Inventory System.

4

Which version of SourceCodester Pharmacy Sales and Inventory System is affected by CVE-2026-7087?

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

5

What action should be taken if CVE-2026-7087 is exploited?

If CVE-2026-7087 is exploited, it is crucial to immediately apply security patches and review database access logs for suspicious activity.

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