7.5
CWE
89 74
Advisory Published
Updated

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

First published: Mon 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=add_to_cart. 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.

Credit: cna@vuldb.com

Affected SoftwareAffected VersionHow to fix
Online Food Ordering System

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-2387?

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

  • 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.

  • What systems are affected by CVE-2025-2387?

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

  • What type of vulnerability is CVE-2025-2387?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203