Skip to main content
CVE-2025-8470VulnerabilityPublished Updated

CVE-2025-8470: SourceCodester Online Hotel Reservation System · SQL Injection

Affects SourceCodester Online Hotel Reservation SystemSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% 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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
SourceCodester Online Hotel Reservation SystemAffected
  • =1.0
Fixed in–

AI-suggested

1. Immediate isolation or restriction of access to the /admin/deleteroom.php endpoint, limiting it to trusted internal IP addresses only. 2. Deployment of a Web Application Firewall (WAF) with custom rules to detect and block SQL injection patterns targeting the 'ID' parameter. 3. Conduct a thorough code review and implement parameterized queries or prepared statements in the affected script to eliminate SQL injection vectors. 4. If source code modification is not feasible immediately, implement input validation and sanitization at the web server or application layer as a temporary measure. 5. Monitor logs for suspicious activities related to the 'ID' parameter and unusual database query patterns. 6. Plan and execute an upgrade or migration to a patched or alternative hotel reservation system that addresses this vulnerability. 7. Conduct regular security assessments and penetration testing focusing on web application vulnerabilities. 8. Educate IT and security teams about this vulnerability and ensure incident response plans are updated to handle potential exploitation scenarios.

Description

A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. This vulnerability affects unknown code of the file /admin/deleteroom.php. The manipulation of the argument ID leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…