Skip to main content
CVE-2025-6394VulnerabilityPublished Updated

CVE-2025-6394: 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 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.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: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 2026-10-25.

What to do

Affected software

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

AI-suggested

1. Immediate application of input validation and parameterized queries (prepared statements) within the /add_reserve.php script to sanitize all user inputs, especially the 'firstname' parameter and any other parameters that interact with SQL queries. 2. Conduct a comprehensive code audit of the entire application to identify and remediate other potential injection points. 3. If available, upgrade to a patched version of the Simple Online Hotel Reservation System or apply vendor-provided patches promptly. 4. Implement Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the reservation system endpoints. 5. Monitor application logs for unusual query patterns or repeated failed attempts to exploit SQL injection. 6. Restrict database user permissions to the minimum necessary for application functionality to limit the impact of a successful injection. 7. Educate development and IT teams on secure coding practices and the importance of input validation. 8. For organizations unable to immediately patch, consider isolating the affected system from external networks or limiting access to trusted IP addresses until remediation is complete.

Description

A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /add_reserve.php. The manipulation of the argument firstname leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

References

Community reviews

Loading reviews…