CVE-2026-3170 in Patients Waiting Area Queue Management Systeminfo

Summary

by MITRE • 02/25/2026

A vulnerability was detected in SourceCodester/Patrick Mvuma Patients Waiting Area Queue Management System 1.0. Affected is an unknown function of the file /patient-search.php. The manipulation of the argument First Name/Last Name results in cross site scripting. The attack can be executed remotely. The exploit is now public and may be used.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 05/10/2026

This vulnerability exists within the SourceCodester/Patrick Mvuma Patients Waiting Area Queue Management System version 1.0 where an insecure input handling flaw has been identified in the patient-search.php file. The specific function that processes patient search queries fails to properly sanitize user-supplied input parameters, particularly the First Name and Last Name fields. This represents a classic cross-site scripting vulnerability that falls under the CWE-79 category for Cross-Site Scripting, which is one of the most prevalent and dangerous web application security flaws. The vulnerability allows attackers to inject malicious JavaScript code through the patient search interface, which then executes in the context of other users' browsers when they view the search results. The attack vector is remote, meaning no local access or user interaction beyond visiting the affected web page is required for exploitation. This makes the vulnerability particularly dangerous as it can be leveraged by threat actors to perform session hijacking, deface the application, steal sensitive patient information, or redirect users to malicious websites. The public availability of the exploit significantly increases the risk profile as it eliminates the need for advanced technical skills to carry out attacks against systems running this vulnerable software version. The impact extends beyond simple data theft as the XSS vulnerability can be chained with other attacks to escalate privileges or establish persistent access to the system. The vulnerability demonstrates poor input validation and output encoding practices that are fundamental to web application security. According to the MITRE ATT&CK framework, this vulnerability maps to T1059.007 for Command and Scripting Interpreter: JavaScript, and T1566 for Phishing, as attackers can use this flaw to deliver malicious payloads through crafted search queries. The affected application architecture lacks proper security controls to prevent malicious code execution, which violates several security best practices outlined in OWASP Top Ten and NIST cybersecurity guidelines. Organizations using this queue management system should immediately implement mitigations including input validation, output encoding, and content security policies to prevent unauthorized script execution in the patient search functionality.

The technical implementation of this vulnerability stems from the application's failure to properly escape or validate user input before processing it within the search results display. When users enter First Name or Last Name parameters containing JavaScript code, the application does not sanitize these inputs before rendering them in the web page context. This allows attackers to inject malicious scripts that execute in the browser of other users who view the search results. The vulnerability is particularly concerning because patient data handling requires strict security controls, and this flaw could potentially expose sensitive medical information or facilitate unauthorized access to the patient management system. The remote exploitation capability means that attackers can target users from any location without requiring physical access to the network or system. The XSS vulnerability could enable attackers to perform actions such as stealing session cookies, modifying patient records, or redirecting users to phishing sites that mimic the legitimate application interface. The attack surface is further expanded by the fact that this is a public vulnerability, making it accessible to a wide range of threat actors from individual hackers to organized cybercriminal groups. The lack of proper input sanitization in the patient-search.php file represents a fundamental security gap that violates the principle of least privilege and secure coding practices. This vulnerability can be exploited through various methods including stored XSS if the malicious input is saved to the database, or reflected XSS if the malicious code is passed directly through URL parameters or form submissions. The system's failure to implement proper security headers and content security policies exacerbates the risk, as these protective measures could have prevented the execution of unauthorized scripts. Organizations should consider implementing Web Application Firewalls and regular security assessments to identify and remediate similar vulnerabilities in their healthcare information systems.

The operational impact of this vulnerability extends beyond immediate security concerns to encompass regulatory compliance issues and potential patient safety risks. Healthcare organizations using this system face significant compliance challenges under HIPAA regulations, which mandate the protection of patient health information and require robust security controls to prevent unauthorized access or data breaches. The public exploit availability transforms this vulnerability from a theoretical risk into an actual threat that can be exploited by cybercriminals without advanced technical skills. This makes the vulnerability particularly dangerous for healthcare providers who may not have the resources or expertise to rapidly respond to such threats. The potential for session hijacking means that attackers could gain unauthorized access to administrative accounts with full privileges to modify patient records, schedule appointments, or access sensitive medical data. The vulnerability also creates opportunities for attackers to inject malicious code that could persist in the system and be used for long-term surveillance or data exfiltration. Organizations must consider the broader implications of this vulnerability on their overall security posture, as it demonstrates weaknesses in input validation and output encoding that could exist in other parts of the application. The risk of cascading effects means that exploitation of this XSS vulnerability could lead to more severe compromises within the healthcare network, potentially affecting multiple systems or services that depend on the same infrastructure. The vulnerability highlights the critical need for regular security updates and patch management processes, particularly for open source applications that may not receive timely security updates from their maintainers. Additionally, the impact on patient trust and organizational reputation cannot be understated, as security breaches in healthcare systems often result in significant financial penalties and legal consequences. The vulnerability also increases the risk of ransomware attacks, as attackers could use the XSS flaw to establish initial access and then escalate privileges to deploy malicious software that could encrypt patient data or disrupt critical healthcare services.

Responsible

VulDB

Disclosure

02/25/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00228

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!