Skip to main content
CVE-2025-6420VulnerabilityPublished Updated

CVE-2025-6420: code-projects Simple Online Hotel Reservation System · SQL Injection

Affects code-projects Simple Online Hotel Reservation SystemSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 26 Oct 2026, 08:30 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 21 Jun 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
code-projects Simple Online Hotel Reservation SystemAffected
  • =1.0
Fixed in–

AI-suggested

1. Immediate mitigation should include restricting access to the /admin/add_room.php endpoint by IP whitelisting or VPN access to limit exposure to trusted personnel only. 2. Implement Web Application Firewall (WAF) rules specifically designed to detect and block SQL injection attempts targeting the 'room_type' parameter. 3. Apply input validation and parameterized queries or prepared statements in the application code to sanitize and safely handle user inputs, eliminating injection vectors. 4. Conduct thorough database and application logs monitoring for suspicious queries or anomalies indicative of exploitation attempts. 5. If feasible, isolate the affected system from critical networks until a secure version or patch is applied. 6. Engage with the vendor or community for updates or patches, and plan for an upgrade or migration to a more secure reservation system if the vendor does not provide timely remediation. 7. Educate administrative users on the risks and encourage strong credential policies to reduce the impact of potential lateral attacks following exploitation.

Description

A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /admin/add_room.php. The manipulation of the argument room_type 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…