CVE-2025-9789 Details
Description
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Affected by this issue is some unknown functionality of the file /admin/edituser.php. The manipulation of the argument userid leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.
A critical SQL injection vulnerability has been identified in SourceCodester Online Hotel Reservation System version 1.0. The issue resides in the admin/edituser.php file, where the userid parameter is improperly validated, allowing attackers to inject arbitrary SQL commands. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and application control.
It is recommended to use prepared statements and parameterized queries to prevent SQL injection, validate and sanitize user inputs, apply the principle of least privilege to database accounts, conduct regular security audits, and upgrade deprecated libraries.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/YoSheep/cve/blob/main/Online%20Hotel%20Reservation%20System%20In%20PHP%20With%20Source%20Code%20-%20SQL%20Injection%20in%20edituser.php.md | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/YoSheep/cve/blob/main/Online%20Hotel%20Reservation%20System%20In%20PHP%20With%20Source%20Code%20-%20SQL%20Injection%20in%20edituser.php.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.322104 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.322104 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.641029 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.643116 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.643146 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fabian online hotel reservation system | 1.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Nov 13, 2025 | Reanalysis | [email protected] |
| Sep 3, 2025 | Initial Analysis | [email protected] |
| Sep 2, 2025 | CVE Modified | CISA-ADP |
| Sep 1, 2025 | New CVE Received | [email protected] |