Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /applyleave.php endpoint
-
DeliveryCraft malicious URL with XSS payload in id parameter
-
ExploitDeliver crafted URL to target employee via phishing
-
ExecutionVictim clicks link and browser renders unsanitized response
-
PersistInjected script executes in victim's browser session
-
ImpactExfiltrate session cookie or perform authenticated action
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 vulnerable endpoint |
| Impact | The CVSS 4.0 base score of 2.1 reflects the limited real-world impact: AV:N (network-reachable) and AC:L/AT:N (no complexity or preconditions) indicate ease of reaching the vulnerable endpoint, but PR:N/UI:P means no authentication is needed yet victim interaction is mandatory - a meaningful friction point. The impact metrics (VC:N/VI:L/VA:N/SC:N) confirm only limited confidentiality and integrity effects, scoped to the victim's browser session. EPSS at 0.03% (10th percentile) corroborates that this vulnerability is not being exploited at scale in the wild. No CISA KEV listing. A public POC exists on GitHub (https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul19.md), which elevates reproducibility but does not evidence active exploitation. Overall, this is a low-priority, low-severity finding relevant primarily to organizations that have deployed this specific open-source application externally facing or in contexts where phishing-style URL delivery to staff is a concern. |
| Exploit ScenarioDerived | An attacker crafts a URL targeting the vulnerable endpoint such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Reflected cross-site scripting in code-projects Employee Management System 1.0 allows remote unauthenticated attackers to inject arbitrary JavaScript into victim browsers via the unsanitized id parameter in /applyleave.php. The attack requires victim interaction (UI:P per CVSS 4.0), meaning a victim must visit or be socially engineered into clicking a crafted URL. Publicly available exploit code exists on GitHub (no public exploit identified at time of analysis for widespread KEV-confirmed exploitation), though EPSS at 0.03% (10th percentile) signals negligible observed exploitation activity at scale.
RemediationAI
No vendor-released patch identified at time of analysis - code-projects has not published a security advisory or patched release for this CVE as of the available data. As a compensating control, operators should sanitize and HTML-encode the id parameter server-side before including it in any HTTP response (trade-off: minimal, low-risk change if done correctly). Implementing a Content Security Policy (CSP) header with script-src 'self' will block inline script injection even if the parameter remains unencoded (trade-off: may break legitimate inline scripts in the application). Restricting access to /applyleave.php to authenticated internal network users via firewall or web server ACL eliminates the network-reachable attack surface entirely (trade-off: disrupts any externally-facing employee self-service workflows). Monitor VulDB entry https://vuldb.com/vuln/365429 and the code-projects repository at https://code-projects.org/ for a future patched release.
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 application is a PHP-based Employee Management System developed by code-projects (CPE: cpe:2.3:a:code-projects:employee_management_system:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), specifically a reflected XSS variant: the id argument passed to /applyleave.php is incorporated into the HTTP response without adequate output encoding or input sanitization. Because the payload is reflected immediately in the server response rather than stored, exploitation requires delivery of a crafted URL to a target user. The application is typical of small-footprint PHP CRUD systems common in academic or internal HR deployments.
Know when Employee Management 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:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in code-projects Employee Management System 1.0. This affects an unknown function of the file /applyleave.php. Executing a manipulation of the argument ID can lead to cross site scripting. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.
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 Employee Management System
View allSQL Injection vulnerability in Sourcecodester Employee Management System v1.0 allows attackers to run arbitrary SQL comm
SQL Injection vulnerability in Employee Management System v1.0 allows attackers to run arbitrary SQL commands via the ad
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the mailud parameter at /apro
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the pwd parameter at /aproces
An issue in Employee Managment System v1.0 allows attackers to bypass authentication via injecting a crafted payload int
A vulnerability was found in SourceCodester Employee Management System 1.0. Rated critical severity (CVSS 9.8), this vul
A vulnerability was found in SourceCodester Employee Management System. Rated critical severity (CVSS 9.8), this vulnera
A vulnerability was found in SourceCodester Employee Management System. Rated critical severity (CVSS 9.8), this vulnera
A vulnerability has been found in SourceCodester Employee Management System and classified as critical. Rated critical s
A vulnerability classified as problematic was found in SourceCodester Employee Management System 1.0. Rated high severit
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /edit.php
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /delete.p
EUVD-2026-31664
GHSA-8w67-w2p7-cw33
NVD
CVE.org
EPSS
VulDB
Exploit-DB