CVE-2026-5705 Details
Description
A vulnerability was identified in code-projects Online Hotel Booking 1.0. Affected by this vulnerability is an unknown functionality of the file /booknow.php of the component Booking Endpoint. Such manipulation of the argument roomname leads to cross site scripting. It is possible to launch the attack remotely. The exploit is publicly available and might be used.
A reflected cross-site scripting vulnerability has been identified in the Online Hotel Booking System by Code-Projects, specifically in version 1.0. The issue arises in the Booking Endpoint, within the file 'booknow.php'. The vulnerability is triggered by manipulating the 'roomname' parameter in the HTTP GET request. The application fails to properly validate or encode this user-supplied input before it is reflected in the HTML response. As a result, malicious JavaScript or HTML can be injected and executed in the browsers of users who access the crafted URL.
It is recommended to encode user input before rendering it in HTML, validate input to reject unexpected characters, and implement Content Security Policy headers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 7, 2026CISA-ADP
Assessed Apr 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Vendor |
| https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Reflected%20Cross-Site%20Scripting%20(XSS)%20in%20Online%20Hotel%20Booking%20System%20roomname%20Parameter.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/786325 | [email protected] | Technical Description |
| https://vuldb.com/vuln/355521 | [email protected] | AdvisoryExploitTechnical Description |
| https://vuldb.com/vuln/355521/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Code-Projects Online Hotel Booking | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 7, 2026 | New CVE Received | [email protected] |
Volerion