Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious URL with XSS payload in id parameter
-
DeliveryDeliver crafted link to target user via phishing
-
ExploitVictim loads /myprofile.php with attacker-controlled id
-
ExecutionServer reflects unsanitized input into HTML response
-
PersistInjected script executes in victim browser
-
ImpactAttacker harvests session data or performs browser-side 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 | Exploitation requires that code-projects Employee Management System 1.0 is deployed with the |
| Impact | The CVSS 4.0 base score of 2.1 (Low) is consistent with the limited blast radius: no confidentiality impact (VC:N), low integrity impact (VI:L), and no availability or subsequent-system effects. The attack requires no privileges (PR:N) and low complexity (AC:L), but passive user interaction (UI:P) prevents fully automated, zero-click exploitation - a meaningful constraint for mass targeting. EPSS at 0.03% (10th percentile) aligns with the CVSS assessment: this is a low-priority, low-exploitation-probability finding. No CISA KEV listing further confirms no observed widespread active exploitation. The existence of a public POC elevates opportunistic risk slightly, but given the niche deployment base of a small hobby/educational PHP project, the realistic threat surface is narrow. No conflicting signals between CVSS and EPSS here - both consistently indicate low real-world priority unless this application handles sensitive data in a targeted environment. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL targeting |
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 and execute malicious JavaScript in a victim's browser by manipulating the id parameter of /myprofile.php. Exploitation requires passive user interaction (UI:P) - the victim must load a crafted URL - which constrains automated attack chains. A public proof-of-concept is confirmed available on GitHub, though the EPSS score of 0.03% (10th percentile) indicates minimal real-world exploitation activity; the vulnerability is not listed in CISA KEV.
RemediationAI
No vendor-released patch has been identified at time of analysis for Employee Management System 1.0. Given that code-projects.org hosts educational/demo PHP projects that may not receive active security maintenance, a vendor fix may not be forthcoming. The primary compensating control is to sanitize and HTML-encode all user-supplied input before rendering - specifically, wrapping the id parameter output in /myprofile.php with PHP's htmlspecialchars() using ENT_QUOTES; this is a targeted, low-risk code change. Deploying a WAF rule to filter XSS payloads in the id parameter of that specific endpoint can reduce exposure with minimal operational side effects. If the application is not in active production use, taking it offline entirely eliminates the attack surface. See VulDB at https://vuldb.com/vuln/365397 and the public POC at https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul13.md for reproduction details that can guide targeted code remediation.
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 code-projects Employee Management System version 1.0 (CPE: cpe:2.3:a:code-projects:employee_management_system:*:*:*:*:*:*:*:*), a PHP-based web application. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): the id parameter supplied to /myprofile.php is reflected into the HTTP response without adequate sanitization or output encoding, enabling attacker-controlled script content to execute in the victim's browser session. The wildcard version in the CPE string suggests the full version scope is not precisely bounded beyond the confirmed 1.0 release.
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 security vulnerability has been detected in code-projects Employee Management System 1.0. This impacts an unknown function of the file /myprofile.php. Such manipulation of the argument ID leads to cross site scripting. The attack can be executed 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.
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-31617
GHSA-9r2w-vx5m-4q72
NVD
CVE.org
EPSS
VulDB
Exploit-DB