CVE-2025-14249CWE-74CWE-89sql-injection

CVE-2025-14249

High · published December 8, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
31.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection lurks in the code-projects Online Ordering System 1.0! By cleverly manipulating the product_id argument, attackers could easily exploit this vulnerable function in /user_school.php. 😱 Imagine a restaurant where anyone can change the order by simply whispering the name of a dish to the waiter, bypassing all checks. That's what happens here—the bad guys can serve themselves whatever data they want. 🍽️ An attacker could exploit this flaw to access sensitive data, modify records, or even take control of the database, leading to potential data breaches and a loss of customer trust. It's not a full-blown crisis yet, but it's a medium-risk concern that shouldn't be ignored!

Put simply

Imagine a restaurant where anyone can change the order by simply whispering the name of a dish to the waiter, bypassing all checks. That's what happens here—the bad guys can serve themselves whatever data they want. 🍽️ This vulnerability allows SQL injection through an unvalidated product_id parameter in the /user_school.php file, enabling remote attackers to execute arbitrary SQL queries.

What to do

An attacker could exploit this flaw to access sensitive data, modify records, or even take control of the database, leading to potential data breaches and a loss of customer trust. It's not a full-blown crisis yet, but it's a medium-risk concern that shouldn't be ignored! To protect your system, update the Online Ordering System to a patched version as soon as it's available. In the meantime, validate and sanitize all input parameters to prevent SQL injection, and consider implementing prepared statements in your database queries. You've got this! Follow these steps, and you’ll be well on your way to safeguarding your application! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00387 · 31.6th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-12-08T20:15Z
Affected products (1)
ProductVersionsFixed in
fabian/online_ordering_systemall versions—
References (6)
EPSS history
Timeline
  • 08 DEC 15:02Z
    code-projects Online Ordering System user_school.php sql injection
    cvelistv5