Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious URL with XSS payload in ID parameter
-
DeliveryDeliver URL to target user via phishing or embedded link
-
ExploitVictim clicks link and browser requests /changepassemp.php
-
ExecutionUnsanitized ID parameter reflected in HTML response
-
PersistInjected script executes in victim browser context
-
ImpactExfiltrate session token or perform authenticated actions
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 be able to deliver a crafted URL to a victim who then clicks it and loads the page in their browser - passive user interaction (UI:P) is a hard prerequisite and the primary limiting factor. The vulnerable endpoint /changepassemp.php must be network-accessible; if the application is deployed on an internal network without external exposure, the attacker must first have network access to that segment. No authentication is required for the attacker (PR:N per CVSS 4.0), meaning the crafted request can be made without any account on the system. The vulnerability is specific to Employee Management System 1.0 running on PHP; no special non-default configuration is required beyond the application being deployed and the endpoint being reachable. Exploitation impact is bounded to the victim's browser session - there is no server-side code execution or privilege escalation beyond the XSS context. |
| Impact | The CVSS 4.0 score of 2.1 (Low) accurately reflects the constrained real-world impact. The vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N confirms network reachability with no privileges required for the attacker, but mandates passive user interaction - a victim must follow a crafted URL. The scope is limited entirely to the vulnerable system with only low integrity impact and no confidentiality or availability impact. EPSS at 0.03% (10th percentile) corroborates a low exploitation probability despite the publicly available POC. The absence of a CISA KEV entry further supports that active widespread exploitation has not been confirmed. The POC and low attack complexity create a credible, repeatable exploit path, but the UI requirement, limited impact scope, and niche deployment base (a free academic-style PHP project) substantially reduce realistic risk. This is a genuine but low-priority finding unless the application is exposed to untrusted users or handles sensitive HR/credential data. |
| Exploit ScenarioDerived | An attacker crafts a URL targeting the vulnerable /changepassemp.php endpoint with a malicious JavaScript payload embedded in the ID parameter - for example, appending a script tag or event handler - and delivers this link to an authenticated or unauthenticated user of the application via phishing or a malicious web page. When the victim clicks the link and their browser renders the page, the injected script executes in the victim's browser context, potentially hijacking session cookies, performing actions on behalf of the user, or redirecting to attacker-controlled infrastructure. A public proof-of-concept demonstrating this technique is available at https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul16.md. |
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 malicious scripts into victim browsers via the unsanitized 'ID' parameter in /changepassemp.php. Exploitation requires user interaction (UI:P per CVSS 4.0), limiting mass exploitation, but a publicly available proof-of-concept exploit exists on GitHub. No patch has been identified from the vendor; EPSS of 0.03% (10th percentile) indicates low observed exploitation probability, and this CVE is not listed in the CISA KEV catalog.
RemediationAI
No vendor-released patch has been identified at time of analysis; code-projects has not published a security advisory or fixed release. As compensating controls: sanitize and validate all user-supplied input on the server side before use, and apply context-aware output encoding (HTML entity encoding) to the 'ID' parameter before rendering in /changepassemp.php - this directly eliminates the injection point with no functional side effects. Deploying a Web Application Firewall (WAF) with XSS ruleset (e.g., OWASP ModSecurity CRS) can block common XSS payloads in transit, though WAFs can be bypassed and are not a substitute for code-level fixes. If the application is used internally, restrict access to trusted network segments or VPN to eliminate the network-reachable attack surface. Monitor VulDB (https://vuldb.com/vuln/365399) and the code-projects repository (https://code-projects.org/) for any upstream patch 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 product is a PHP-based Employee Management System (CPE: cpe:2.3:a:code-projects:employee_management_system:*:*:*:*:*:*:*:*) developed by code-projects.org, version 1.0. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored/Reflected XSS). Specifically, the changepassemp.php endpoint accepts an 'ID' parameter that is incorporated into page output without adequate sanitization or output encoding, enabling script injection into the rendered HTML. This is a classic reflected XSS pattern in a PHP web application lacking input validation at the parameter ingestion point and context-aware output encoding at the rendering point.
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 flaw has been found in code-projects Employee Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /changepassemp.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 published 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 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-31621
GHSA-5w8m-fp3w-3vw8
NVD
CVE.org
EPSS
VulDB
Exploit-DB