itsourcecode E-Logbook with Health Monitoring System for COVID-19 Reflected Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in itsourcecode E-Logbook with Health Monitoring System for COVID-19 version 1.0. The issue arises in the file '/stc-log-keeper/print_reports_prev.php', where user-supplied input from the 'profile_id' parameter is not properly sanitized before being output as HTML. This lack of filtering allows attackers to inject malicious JavaScript that can be executed in the context of the user's browser. The vulnerability can be exploited remotely, without any authentication, but requires user interaction.

Impact

Exploitation of this vulnerability allows for the execution of arbitrary JavaScript in the victim's browser, potentially leading to the theft of cookies or session tokens, execution of cross-site request forgery (CSRF) attacks, privilege escalation if an admin views the injected content, and redirection to malicious sites.

Reproduction

To reproduce this vulnerability, send a POST request to '/stc-log-keeper/print_reports_prev.php' with the 'selectedMM', 'selectedDD', and 'selectedYYYY' parameters. Include a script tag in the 'selectedMM' parameter to inject JavaScript, which will be executed in the browser.

Remediation

It is recommended to implement server-side output encoding, input validation, and a Content Security Policy (CSP).

Added: Sep 17, 2025, 8:30 PM
Updated: Sep 17, 2025, 8:30 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
6.0
exploitability
7.7
remediation
0.0
relevance
0.5
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.