Edoc Appointment System CVE-2025-66918
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel
-
DeliverySubmit XSS payload in 'title' field of add-session.php
-
ExploitPayload stored without sanitization
-
ExecutionVictim admin views page, script executes
-
ImpactSession theft or admin-context actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires access to the administrative interface at admin/add-session.php, i.e. a logged-in session with permission to create appointment sessions, and injection occurs through the 'title' parameter. Realistic impact additionally requires a victim to subsequently render the stored value in their browser (victim interaction), limiting it to a stored/reflected XSS affecting other admins or users of the panel rather than unauthenticated remote code execution. Limiting factors: administrative authentication to reach the endpoint, the need for a victim to view the injected content, and the niche, single-maintainer nature of the affected application restrict realistic exploitation. |
| Impact | Signals conflict sharply and should temper the headline 8.8 score. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) describes a network, low-privilege, no-interaction flaw with full confidentiality/integrity/availability impact - a profile typical of RCE or injection, NOT of the Cross-Site Scripting the description and the 'XSS' tag actually state. Classic stored/reflected XSS normally carries UI:R, S:C, and low C/I impact with A:N, so the input vector appears auto-generated or inflated and should be verified against the vendor/NVD before being trusted. CWE-20 (Improper Input Validation) is also a generic parent of the more precise CWE-79 (XSS) implied by the description. EPSS is low (0.56%, 46th percentile) and there is no CISA KEV listing, indicating no evidence of active or widespread exploitation despite publicly available exploit code. The injection point is admin/add-session.php - an administrative endpoint - so realistic exploitation requires authenticated admin access, contradicting the PR:L-with-full-impact framing. Net: this is a low-to-moderate real-world priority (an admin-context XSS in a niche hobby application), not the critical issue the raw 8.8 suggests. |
| Exploit ScenarioDerived | An authenticated user with access to the admin session-management panel submits a crafted payload in the 'title' field of admin/add-session.php; the value is stored and later rendered without sanitization, executing attacker-controlled JavaScript in the browser of any admin/user who views the resulting page. Publicly available proof-of-concept exploit code is referenced on GitHub. Because the entry point is an admin page, exploitation generally presupposes valid credentials or a secondary CSRF/social-engineering vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Stored cross-site scripting in Edoc Doctor Appointment System 1.0.1 lets a logged-in user with permission to create appointment sessions inject arbitrary script through the 'title' parameter of admin/add-session.php; the payload is persisted and later rendered to other administrators or panel users who view the session listing. NVD rates this 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), but that headline is overstated: our independent assessment scores it CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N because exploitation requires authenticated access to the administrative interface AND a victim to subsequently render the injected value, so the realistic outcome is session-scoped script execution in an admin's browser rather than unauthenticated code execution. Publicly available exploit code exists (a proof-of-concept write-up is referenced from NVD), no CISA KEV entry confirms active exploitation, and EPSS is only 0.56% (46th percentile), reflecting the narrow attack surface of a niche, single-maintainer PHP application.
RemediationAI
No vendor-released patch identified at time of analysis - the only upstream URL provided is the bare project repository, which carries no fix commit or tagged release for this issue, so operators cannot simply upgrade to a safe version and must apply compensating controls. The highest-value control is to stop unprivileged users from reaching the vulnerable endpoint: restrict admin/add-session.php behind an IP allowlist or a reverse-proxy auth gate so only trusted administrative networks can POST to it, accepting the operational trade-off that legitimate admins lose access from arbitrary locations unless they use a VPN. Enforce least privilege on the application's own role model by removing session-creation permissions from all but the smallest possible set of accounts, which reduces the number of users who can plant a payload but does not protect the remaining administrators. Add a Web Application Firewall rule or a mod_security-style filter that rejects '<', '>', 'script', and on* handler patterns in POST bodies to add-session.php, understanding that filter bypasses exist and this is defence-in-depth rather than a fix. A strict Content-Security-Policy header with script-src 'self' and no 'unsafe-inline' will neutralise injected inline script, at the cost of breaking any legitimate inline JavaScript the panel already relies on, so test before enforcing. Where source modification is possible, patch admin/add-session.php yourself to HTML-encode the 'title' value with htmlspecialchars($title, ENT_QUOTES, 'UTF-8') on output and to validate the field server-side, then re-audit other endpoints that render user-controlled values. Reference material for confirming exposure and reproducing the flaw is at https://github.com/omkaryepre/vulnerability-research/blob/main/CVE-2025-66918/readme.md. Because publicly available exploit code exists, prioritise the access restrictions and CSP immediately and treat any manual source patch as the durable fix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is a PHP web application, distributed as the GitHub project HashenUdara/edoc-doctor-appointment-system, that manages doctor appointment scheduling and exposes an administrative panel. The vulnerable endpoint, admin/add-session.php, accepts the 'title' parameter as part of the session-creation workflow and stores that value without neutralising HTML metacharacters, so an attacker-supplied script tag or event handler is persisted and executed in the DOM of any user who later views the affected page. NVD classifies the root cause as CWE-20 (Improper Input Validation), which describes the missing server-side input checking, but the operative defect class is really CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. XSS) because the decisive failure is the absence of context-aware output encoding where the stored title is echoed back into HTML. The XSS is state-changing in nature: the CVSS vector records PR:L (a valid authenticated session with session-creation privileges is needed to reach the endpoint) and the assessed vector records UI:R (a second user must load the injected content), which is why the true impact is bounded to admin-on-admin or admin-on-user script execution within the panel rather than compromise of the underlying host. Because the injected script runs in the context of an authenticated administrator, it can be chained to perform privileged actions such as creating or modifying accounts and appointments, pivoting this from a simple alert-box reflection into a meaningful privilege-abuse primitive.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Admin endpoint requires authentication (PR:L); stored XSS needs a victim to view the page (UI:R) and executes across a security boundary into the browser (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
edoc-doctor-appointment-system v1.0.1 is vulnerable to Cross Site Scripting (XSS) in admin/add-session.php via the "title" parameter.
Executive ViewAI
Clinics and healthcare organizations using Edoc Doctor Appointment System 1.0.1 face a stored cross-site scripting risk in the administrative appointment-session workflow. A user with legitimate session-creation access could inject script that later runs in other administrators' browsers, potentially leading to unauthorized access to appointment data or administrative functions. Because publicly available exploit code exists and no vendor-released patch identified at time of analysis, leadership should treat this as an urgent administrative-access risk requiring containment and monitoring.
No vendor-released patch identified at time of analysis; interim mitigations include restricting access to admin/add-session.php, validating and output-encoding the 'title' parameter, deploying WAF/IPS rules to block stored script payloads, enforcing MFA for administrative users, limiting session-creation permissions to trusted roles, and monitoring admin session listings for anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
Exploit-DB