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

CVE-2025-13451

High · published November 20, 2025

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

⚠️ A sneaky SQL injection vulnerability lurks in SourceCodester Online Shop Project 1.0, ready to exploit any manipulation of the search argument! Think of this as a restaurant whose menu never changes. If someone finds a way to request items that don’t exist, they might be getting some secret ingredients behind the scenes, leading to all sorts of mischief in the kitchen! An attacker could use this vulnerability to insert malicious SQL queries, potentially exposing sensitive data or even gaining unauthorized access to the database. While the damage could be contained, the risk of data leaks or manipulations is still significant and could lead to serious reputational harm.

Put simply

Think of this as a restaurant whose menu never changes. If someone finds a way to request items that don’t exist, they might be getting some secret ingredients behind the scenes, leading to all sorts of mischief in the kitchen! This vulnerability allows remote attackers to exploit an unprotected function in /action.php by manipulating the search argument, enabling SQL injection attacks. This lack of input validation effectively creates a backdoor for attackers.

What to do

An attacker could use this vulnerability to insert malicious SQL queries, potentially exposing sensitive data or even gaining unauthorized access to the database. While the damage could be contained, the risk of data leaks or manipulations is still significant and could lead to serious reputational harm. To remediate this vulnerability, sanitize all user inputs to prevent SQL injection. Additionally, implement prepared statements and parameterized queries to strengthen your defense. Updating the affected codebase as acknowledged in the project's documentation is also recommended. You've got this! With the right fixes, you can secure your project and keep those cyber villains at bay! 🛡️

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.00435 · 36.8th 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-11-20T20:17Z
Affected products (1)
ProductVersionsFixed in
oretnom23/online_shop_projectall versions—
References (6)
EPSS history
Timeline
  • 20 NOV 03:02Z
    SourceCodester Online Shop Project action.php sql injection
    cvelistv5