CVE-2025-2387: SourceCodester Online Food Ordering System ajax.php sql injection

Published Mar 17, 2025
·
Updated

A vulnerability was found in SourceCodester Online Food Ordering System 2.0. It has been classified as critical. Affected is an unknown function of the file /admin/ajax.php?action=addtocart. The manipulation of the argument pid 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

2 affected components
Sourcecodester Online Food Ordering System
oretnom23 Online Food Ordering System=2.0

Event History

Mar 17, 2025
CVE Published
via MITRE·05:31 PM
Data Sourced
via MITRE·05:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
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-2025-2387?

CVE-2025-2387 is classified as a critical vulnerability.

2

How do I fix CVE-2025-2387?

To fix CVE-2025-2387, validate and sanitize user inputs in the /admin/ajax.php?action=add_to_cart function to prevent SQL injection.

3

What systems are affected by CVE-2025-2387?

CVE-2025-2387 affects SourceCodester Online Food Ordering System version 2.0.

4

What type of vulnerability is CVE-2025-2387?

CVE-2025-2387 is an SQL injection vulnerability due to improper handling of the 'pid' argument.

5

Can CVE-2025-2387 be exploited remotely?

Yes, CVE-2025-2387 can be exploited remotely by sending crafted requests to the affected endpoint.

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