Skip to main content
CVE-2025-6418VulnerabilityPublished Updated

CVE-2025-6418: 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.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 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 code review and remediation: Implement parameterized queries or prepared statements in /admin/edit_query_account.php to sanitize the 'Name' parameter and prevent SQL injection. 2. Input validation: Enforce strict server-side validation on all inputs, especially those interacting with the database. 3. Web Application Firewall (WAF): Deploy or update WAF rules to detect and block SQL injection attempts targeting the vulnerable parameter. 4. Access controls: Restrict access to the /admin directory by IP whitelisting or VPN to limit exposure. 5. Monitoring and logging: Enable detailed logging of database queries and web requests to detect suspicious activity early. 6. Incident response readiness: Prepare to respond to potential breaches by having data backup and recovery plans in place. 7. Vendor engagement: Contact the software vendor or community to seek official patches or updates and apply them promptly once available. 8. Alternative solutions: Consider migrating to more secure, actively maintained hotel reservation systems if remediation is not feasible. These steps go beyond generic advice by focusing on immediate code-level fixes, network-level protections, and operational readiness tailored to this specific vulnerability and product.

Description

A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/edit_query_account.php. The manipulation of the argument Name leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…