CVE-2026-86216 Details
Description
A security vulnerability has been detected in code-projects Hotel and Tourism Reservation in PHP 1.0. This impacts an unknown function of the file /ht/details.php. The manipulation of the argument room leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
A reflected cross-site scripting vulnerability has been identified in the Code-Projects Hotel and Tourism Reservation System in PHP, version 1.0. The issue arises in the 'room' parameter of the '/ht/details.php' file. This vulnerability allows remote attackers to inject malicious HTML and JavaScript, which is then executed in the context of the user's browser session.
To address this vulnerability, apply contextual output encoding to all user-controlled values before inserting them into HTML. Validate the 'room' parameter to ensure it meets expected data type requirements, and use prepared statements for database queries involving this parameter. Additionally, implement a restrictive Content Security Policy as an extra layer of defense.
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 Sep 6, 2026CISA-ADP
Assessed Sep 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://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Reflected%20Cross-Site%20Scripting%20(XSS)%20in%20Hotel%20and%20Tourism%20Reservation%20System%20%60room%60%20Parameter.md | CISA-ADP | ExploitTechnical Analysis |
| https://code-projects.org/ | [email protected] | Not ApplicableVendor |
| https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Reflected%20Cross-Site%20Scripting%20(XSS)%20in%20Hotel%20and%20Tourism%20Reservation%20System%20%60room%60%20Parameter.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-86216 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/897300 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/399354 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/399354/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 Hotel and Tourism Reservation | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 8, 2026 | CVE Modified | CISA-ADP |
| Sep 6, 2026 | New CVE Received | [email protected] |
Volerion