Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker authenticates with low-priv account
-
DeliveryCraft malicious URL with XSS payload in `id` parameter
-
ExploitDeliver crafted link to privileged victim
-
ExecutionVictim clicks link while authenticated
-
PersistReflected XSS executes in victim's browser
-
ImpactSteal session cookie or perform action as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two actors: (1) an attacker who holds a valid low-privileged authenticated session in the Hospital Information System (PR:L), and (2) a victim user who must passively interact with a crafted URL - i.e., click an attacker-supplied link (UI:P). The vulnerable endpoint is |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) scores 2.0, accurately reflecting that exploitation requires an already-authenticated low-privileged user to serve as the attacker's entry point AND a separate victim user to interact with a crafted link. This is not a zero-effort attack: both an authenticated session and victim user interaction are prerequisites. EPSS data is not provided; given the low CVSS score, niche deployment footprint, and lack of KEV inclusion, exploitation probability in enterprise environments is very low. The primary risk is within healthcare environments running this specific demo/educational application in production - an inadvisable practice. The public POC on GitHub lowers the skill bar for exploitation but does not change the prerequisite chain. No conflicting signals exist between CVSS and the described attack - vector and impact ratings are internally consistent. |
| Exploit ScenarioDerived | An authenticated attacker logs into the Hospital Information System with any low-privileged account, then crafts a URL pointing to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Reflected cross-site scripting (XSS) in code-projects Hospital Information System 1.0 allows a remote authenticated attacker to inject arbitrary JavaScript into victim browsers via the unsanitized id parameter in /HIS/src/patients/editPatient.php. An attacker who can craft a malicious URL and induce an authenticated user to click it can execute scripts in the victim's browser session, enabling session hijacking, credential theft, or UI redress. A public proof-of-concept exploit is available on GitHub; no KEV listing exists, and the CVSS 4.0 score of 2.0 reflects the limited real-world impact given authentication and user-interaction prerequisites.
RemediationAI
No vendor-released patch has been identified at time of analysis for this project. The immediate fix is to apply PHP output encoding to the id parameter before it is rendered in editPatient.php - replacing raw echoing with htmlspecialchars($id, ENT_QUOTES, 'UTF-8'). Deployers should also implement a Content Security Policy (CSP) header to restrict inline script execution, which reduces XSS impact even when input validation is incomplete. Given that code-projects Hospital Information System is an educational/demo codebase not intended for production deployment, the strongest compensating control is to avoid exposing this application to untrusted users or the public internet. If the system must remain accessible, restrict access to known IP ranges via web server or firewall rules. Monitoring for unexpected JavaScript patterns in request parameters via a WAF provides partial mitigation. References: https://vuldb.com/vuln/399465, https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Reflected%20Cross-Site%20Scripting%20(XSS)%20in%20Hospital%20Information%20System%20%60id%60%20Parameter.md
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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 the Patient Management module of the Hospital Information System, a PHP-based open-source demo application distributed by code-projects.org (cpe:2.3:a:code-projects:hospital_information_system:*:*:*:*:*:*:*:*). The vulnerability is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), specifically a reflected XSS class, where the id GET/POST parameter in editPatient.php is echoed back into the HTML response without adequate output encoding or sanitization. PHP applications that directly interpolate user-supplied request parameters into HTML responses without htmlspecialchars() or equivalent encoding are the classic root cause of this CWE.
Know when Hospital Information System 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Network-accessible reflected XSS requiring authenticated attacker (PR:L) and victim interaction (UI:R); scope changes to victim browser with low C/I impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in code-projects Hospital Information System 1.0. Affected is an unknown function of the file /HIS/src/patients/editPatient.php of the component Patient Management. Such manipulation of the argument ID leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
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.
More in Hospital Information System
View allHospital Information System version 1.0 suffers from a remote SQL injection vulnerability that allows for authentication
Hospital Information System 1.0 by code-projects exposes its raw SQL database backup file at the web-accessible path `/H
SQL injection in code-projects Hospital Information System 1.0 allows unauthenticated remote attackers to manipulate dat
SQL injection in code-projects Hospital Information System 1.0 allows unauthenticated remote attackers to manipulate bac
SQL injection in code-projects Hospital Information System 1.0 allows unauthenticated remote attackers to manipulate dat
Code Projects Hospital Information System 1.0 is vulnerable to Cross Site Scripting (XSS). Rated medium severity (CVSS 4
EUVD-2026-72353
GHSA-q94x-phgh-xh8p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB