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

CVE-2025-13170

High · published November 14, 2025

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

⚠️ A sneaky SQL injection just found a cozy spot in the Simple Online Hotel Reservation System! This vulnerability can be exploited remotely—like leaving a window open in a ground-floor hotel room. 🏨 Think of it like a hotel guest who can sneak into the admin office by just changing their room number on the check-in form. One clever tweak and they could access anything stored behind the locked doors of the system! An attacker could manipulate the `admin_id` parameter to gain unauthorized access to sensitive information or even change account details. While this isn’t the worst-case scenario, it could lead to account takeovers, data breaches, or other unauthorized actions—definitely not a guest you want in your hotel!

Put simply

Think of it like a hotel guest who can sneak into the admin office by just changing their room number on the check-in form. One clever tweak and they could access anything stored behind the locked doors of the system! This SQL injection vulnerability in the `edit_account.php` file allows remote attackers to perform unauthorized queries against the database by manipulating the `admin_id` parameter. It’s a classic case of trusting user input without proper validation!

What to do

An attacker could manipulate the `admin_id` parameter to gain unauthorized access to sensitive information or even change account details. While this isn’t the worst-case scenario, it could lead to account takeovers, data breaches, or other unauthorized actions—definitely not a guest you want in your hotel! To lock this vulnerability down, immediately patch your installation of the Simple Online Hotel Reservation System to the latest version. Additionally, implement input validation and use prepared statements to mitigate SQL injection risks. 🛡️ You've got this! With these steps, you can ensure your system is secure and ready for business. 💪✨

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.00421 · 35.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-11-14T21:15Z
Affected products (1)
ProductVersionsFixed in
fabian/simple_online_hotel_reservation_systemall versions—
References (7)
EPSS history
Timeline
  • 14 NOV 16:02Z
    code-projects Simple Online Hotel Reservation System edit_account.php sql injection
    cvelistv5