CVE-2026-11342

code-projects Hotel and Tourism Reservation System details.php sql injection

Published Jun 5, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability has been found in code-projects Hotel and Tourism Reservation System 1.0. This affects an unknown function of the file /details.php. Such manipulation of the argument room leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Analysis

AI-generated

Technical impact

A flaw in the Hotel and Tourism Reservation System allows attackers to manipulate the room argument in details.php, producing an SQL injection that can read from or modify the database. This vulnerability is a classic example of CWE‑74 (Invalid Input or Output Filter) and CWE‑89 (Improper Neutralization of Special Elements used in an SQL Command). Successful exploitation would compromise the confidentiality and integrity of sensitive booking data and could allow attackers to alter reservations or access privileged information.

Affected Systems

The affected product is code‑projects Hotel and Tourism Reservation System version 1.0. The issue resides in an unknown function within details.php, and no other versions or modules are listed as impacted.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate to high level of risk, while the EPSS score is unavailable, meaning no public data quantifies exploit likelihood. The flaw is exploitable remotely, as the vulnerable parameter is provided by external users. Because the description notes that the exploit has been disclosed publicly, a remote attacker could construct a malicious room value to gain unauthorized database access without needing any authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check the vendor’s website for an update that addresses the SQL injection flaw and apply the patch promptly.
  • If no patch exists, enforce strict input validation by using prepared statements or parameterized queries for the room parameter to eliminate injection vectors.
  • Restrict external access to details.php by placing the application behind a firewall or enabling authentication, ensuring only trusted users can reach the vulnerable endpoint.

Generated by OpenCVE AI on June 5, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability has been found in code-projects Hotel and Tourism Reservation System 1.0. This affects an unknown function of the file /details.php. Such manipulation of the argument room leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Title code-projects Hotel and Tourism Reservation System details.php sql injection
First Time appeared Code-projects
Code-projects hotel And Tourism Reservation System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:code-projects:hotel_and_tourism_reservation_system:*:*:*:*:*:*:*:*
Vendors & Products Code-projects
Code-projects hotel And Tourism Reservation System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 5, 2026, 7:04 PM
Reserved
Jun 5, 2026, 8:20 AM
Status
Deferred
Published
Jun 5, 2026, 6:17 PM
Modified
Oct 26, 2026, 11:10 AM