CVE-2025-9789: SourceCodester Online Hotel Reservation System · SQL Injection
Affects SourceCodester Online Hotel Reservation SystemSource CVE Database V5
Public exploit available · CVSS 6.9 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 1 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SourceCodester Online Hotel Reservation System | Affected
| Fixed in– |
AI-suggested
Organizations should immediately audit their use of the SourceCodester Online Hotel Reservation System to identify if version 1.0 is deployed. Since no official patches are currently available, mitigation should focus on implementing web application firewall (WAF) rules to detect and block SQL injection attempts targeting the 'userid' parameter in /admin/edituser.php. Input validation and parameterized queries should be enforced in the application code to prevent injection. If possible, upgrade to a newer, patched version of the software or consider migrating to a more secure reservation system. Network segmentation and restricting administrative interface access to trusted IP addresses can reduce exposure. Regular security assessments and penetration testing should be conducted to identify similar injection points. Monitoring logs for unusual database queries or failed injection attempts can provide early detection of exploitation attempts.
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/YoSheep/cve/blob/main/Online%20Hotel%20Reservation%20System%20In%20PHP%20With%20Source%20Code%20-%20SQL%20Injection%20in%20edituser.php.md (opens in a new tab)
- sourcecodester.com (opens in a new tab)