RemoteClinic Cross-Site Scripting Vulnerability in edit-patient.php

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in RemoteClinic versions through 2.0. The issue arises in the file '/patients/edit-patient.php' when the 'Email' parameter is manipulated, leading to information disclosure. This vulnerability can be exploited remotely, without requiring authentication, although it does necessitate user interaction.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject and execute malicious scripts in the context of the user's browser. This could lead to the theft of cookies, session tokens, or other sensitive information, as well as performing actions on behalf of the user or redirecting them to malicious websites.

Reproduction

To reproduce this vulnerability, send a request to '/patients/edit-patient.php' with an 'Email' parameter containing a script payload, such as a JavaScript alert. This can be done using a tool that automates the injection of such payloads, or manually through a web browser or a command-line tool that supports HTTP requests.

Remediation

It is recommended to implement proper input validation and output encoding for the 'Email' parameter to prevent script injection. Additionally, a Content Security Policy (CSP) could be used to restrict the execution of scripts.

Added: Sep 1, 2025, 11:21 AM
Updated: Sep 1, 2025, 11:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
4.2
exploitability
7.7
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.