CVE-2025-66918 Details
Description
edoc-doctor-appointment-system v1.0.1 is vulnerable to Cross Site Scripting (XSS) in admin/add-session.php via the "title" parameter.
A cross-site scripting (XSS) vulnerability has been identified in the Edoc Doctor Appointment System version 1.0.1. The issue resides in the admin/add-session.php file, where user input in the 'title' parameter is not properly sanitized before being stored in the database. This allows for the injection of malicious HTML, which is executed when the session is viewed by an admin, doctor, or patient. To exploit this vulnerability, an admin must create a session and inject a payload that redirects to an attacker-controlled site.
To address this vulnerability, sanitize the 'title' input by removing HTML tags and escaping output before rendering it in the HTML context. Consider using a library like HTMLPurifier if rich text input is necessary.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 11, 2025References 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/HashenUdara/edoc-doctor-appointment-system | [email protected] | Product |
| https://github.com/omkaryepre/vulnerability-research/blob/main/CVE-2025-66918/readme.md | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | CISA-ADP |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| hashenudara edoc-doctor-appointment-system | 1.0.1 |
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 |
| Dec 23, 2025 | Initial Analysis | [email protected] |
| Dec 11, 2025 | CVE Modified | CISA-ADP |
| Dec 11, 2025 | New CVE Received | [email protected] |