Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2159: Cross Site Scripting in SourceCodester Simple Responsive Tourism Website

0
Medium
VulnerabilityCVE-2026-2159cvecve-2026-2159
Published: Sun Feb 08 2026 (02/08/2026, 15:32:07 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Simple Responsive Tourism Website

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/23/2026, 21:38:23 UTC

Technical Analysis

CVE-2026-2159 is a cross-site scripting vulnerability affecting SourceCodester Simple Responsive Tourism Website version 1.0. The vulnerability resides in the Registration component, specifically within the /tourism/classes/Master.php?f=register file. The flaw arises due to insufficient input validation or output encoding of user-supplied parameters: firstname, lastname, and username. An attacker can craft malicious input to inject arbitrary JavaScript code, which is then executed in the context of other users viewing the affected pages. The vulnerability is remotely exploitable without requiring authentication, but it does require user interaction, such as clicking a crafted link or submitting a malicious form. The CVSS 4.0 base score is 5.3 (medium severity), reflecting the moderate impact on confidentiality and integrity with no impact on availability. The vulnerability does not require privileges or user consent beyond interaction, and no scope change occurs. Although no patches or official fixes are currently listed, a public exploit exists, increasing the risk of exploitation. This type of XSS can lead to session hijacking, credential theft, or redirection to malicious sites, undermining user trust and website integrity.

Potential Impact

The exploitation of this XSS vulnerability can have several impacts on organizations deploying the affected software. Attackers can execute arbitrary scripts in users' browsers, potentially stealing session cookies, login credentials, or other sensitive information. This can lead to unauthorized access to user accounts and data breaches. Additionally, attackers may deface the website or redirect users to phishing or malware-laden sites, damaging the organization's reputation and user trust. For tourism websites, which often handle personal data and booking information, such breaches can have financial and legal consequences. The vulnerability's remote exploitability and lack of authentication requirement increase the risk of widespread attacks, especially if the software is used by multiple organizations without timely remediation. While availability is not directly impacted, the indirect effects on business continuity and user confidence can be significant.

Mitigation Recommendations

To mitigate CVE-2026-2159, organizations should first verify if they are using SourceCodester Simple Responsive Tourism Website version 1.0 or any affected versions. Since no official patch is currently available, immediate mitigation steps include implementing robust input validation and output encoding on the firstname, lastname, and username parameters within the registration component. Employing a web application firewall (WAF) with rules to detect and block common XSS payloads can provide temporary protection. Additionally, applying Content Security Policy (CSP) headers can reduce the impact of successful XSS by restricting script execution sources. Educating users to avoid clicking suspicious links and monitoring web logs for unusual activity related to the registration endpoint can help detect exploitation attempts. Organizations should also track vendor updates for official patches and apply them promptly once released. Finally, conducting regular security assessments and code reviews can prevent similar vulnerabilities in future development.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-02-07T08:55:17.881Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6988afc74b57a58fa1ab2010

Added to database: 2/8/2026, 3:46:15 PM

Last enriched: 2/23/2026, 9:38:23 PM

Last updated: 3/26/2026, 9:14:33 AM

Views: 104

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses