code-projects Employee Management System empproject.php cross site scripting
Description
A vulnerability has been found in code-projects Employee Management System 1.0. Affected by this issue is some unknown functionality of the file /empproject.php. The manipulation of the argument ID leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Employee Management System 1.0 has a reflected XSS vulnerability in /empproject.php via the id parameter, allowing remote attackers to inject arbitrary JavaScript.
Vulnerability
A reflected cross-site scripting (XSS) vulnerability exists in code-projects Employee Management System 1.0 in the file /empproject.php. The id query parameter is reflected into navigation link href attributes without HTML escaping [1][2]. The application is a PHP project available from code-projects.org.
Exploitation
An unauthenticated attacker can craft a malicious URL containing an XSS payload in the id parameter. For example, sending a GET request to /empproject.php?id=%22%3E%3CScRiPt%3Ealert%28888%29%3C%2FsCrIpT%3E causes the injected script to be embedded in the response. The attack is remote and requires no special access [2]. The victim must simply visit the crafted URL to trigger execution.
Impact
Successful exploitation allows arbitrary JavaScript execution in the victim's browser within the security context of the application. This can lead to session hijacking (cookie theft), account takeover, or phishing/UI manipulation [2]. The scope is limited to the client side, but can affect sensitive user sessions.
Mitigation
As of the publication date (2026-05-25), no official patch has been released by the vendor. The project appears to be a legacy or example application from code-projects.org [1]. Users should sanitize all user-supplied input, specifically HTML-encode the id parameter before reflecting it in href attributes. Until a fix is made available, application administrators should consider input validation and output encoding as a temporary workaround.
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: =1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul17.mdmitreexploit
- vuldb.com/submit/813703mitrethird-party-advisory
- code-projects.orgmitreproduct
- vuldb.com/vuln/365400mitrevdb-entrytechnical-description
- vuldb.com/vuln/365400/ctimitresignaturepermissions-required
News mentions
0No linked articles in our index yet.