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

CVE-2025-15049

High · published December 24, 2025

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

⚠️ A seemingly innocent file, /addProduct.php, can turn into a hacker’s playground! An SQL injection vulnerability arises from manipulating the Username argument. 😱 Think of it like a restaurant that only checks if the order is made but allows diners to change the recipe at will — if unchecked, a mischievous patron could create a chaotic menu! An attacker could exploit this weakness to retrieve, modify, or delete sensitive information from the database. This could lead to unauthorized access and data corruption, potentially compromising user trust and system integrity.

Put simply

Think of it like a restaurant that only checks if the order is made but allows diners to change the recipe at will — if unchecked, a mischievous patron could create a chaotic menu! This vulnerability allows remote attackers to perform SQL injection by manipulating parameters in the Username field of /addProduct.php, leading to unauthorized database queries.

What to do

An attacker could exploit this weakness to retrieve, modify, or delete sensitive information from the database. This could lead to unauthorized access and data corruption, potentially compromising user trust and system integrity. To secure your system, update to the latest version of the Online Farm System, conduct a thorough code review of the /addProduct.php file, and implement prepared statements or ORM to mitigate SQL injection risks. Regular audits are also a smart move! You've got this! By taking these steps, you'll be one step closer to fortifying your defenses. 🛡️

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.00384 · 31.3th 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-24T04:15Z
Affected products (1)
ProductVersionsFixed in
anisha/online_farm_systemall versions—
References (5)
EPSS history
Timeline
  • 23 DEC 23:02Z
    code-projects Online Farm System addProduct.php sql injection
    cvelistv5