Skip to main content

Edoc Appointment System CVE-2025-66918

HIGH
Improper Input Validation (CWE-20)
2025-12-11 cve@mitre.org
8.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to admin panel
  2. Delivery
    Submit XSS payload in 'title' field of add-session.php
  3. Exploit
    Payload stored without sanitization
  4. Execution
    Victim admin views page, script executes
  5. Impact
    Session 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.6%
Top 54% exploitable
Prevalence
Rare
single-developer hobby GitHub project, no enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:hashenudara:edoc-doctor-appointment-system:1.0.1:*:*:*:*:*:*:*

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy