CVE-2026-2159 Details
Description
A flaw has been found in SourceCodester Simple Responsive Tourism Website 1.0. Affected is an unknown function of the file /tourism/classes/Master.php?f=register of the component Registration. Executing a manipulation of the argument firstname/lastname/username can lead to cross site scripting. It is possible to launch the attack remotely. The exploit has been published and may be used.
A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Simple Responsive Tourism Website version 1.0. The issue resides in the registration functionality of the file '/tourism/classes/Master.php?f=register'. This vulnerability is caused by improper handling of user input in the 'firstname', 'lastname', and 'username' parameters, allowing remote attackers to inject malicious JavaScript that is executed in the context of the user's browser session. The application fails to adequately validate, filter, or encode user-supplied data before reflecting it back in the HTTP response. Exploitation of this vulnerability could lead to session hijacking, theft of sensitive information such as cookies or session tokens, defacement of the website, or redirection to malicious sites.
It is recommended to implement proper input validation and output encoding to neutralize user-supplied data before it is reflected in the HTTP response. Additionally, consider using a Content Security Policy to restrict the execution of scripts.
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.
CISA-ADP
Assessed Feb 9, 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/CH0ico/CVE_choco_5/blob/main/report.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.344861 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.344861 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.750995 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
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 |
|---|---|
| oretnom23 simple responsive tourism website | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 10, 2026 | Initial Analysis | [email protected] |
| Feb 8, 2026 | New CVE Received | [email protected] |