# CVE-2026-9418: code-projects Employee Management System XSS in changepassemp.php

Source: https://junglewise.ai/threats/cve-2026-9418-code-projects-employee-management-system-xss-in-changepassemp-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-25. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2026-9418 · Severity: medium · CVSS 4.3 · Published 2026-05-25

A security vulnerability exists in the code-projects Employee Management System, a web application used for managing staff records. An attacker can send a specially crafted link to a user that, when clicked, executes malicious scripts in their web browser. This could allow the attacker to steal login sessions, perform actions on behalf of the user, or display fraudulent information on the site.

Technologies: [Code-Projects Employee Management System](https://junglewise.ai/threats/technologies/employee-management-system). Vendors: [Code-Projects](https://junglewise.ai/threats/vendors/code-projects).

## Quick answers

**Is CVE-2026-9418 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-9418 being exploited in the wild.

**How severe is CVE-2026-9418?** Medium severity, with a CVSS score of 4.3, published 25 May 2026.

**Which products and versions are affected?** Code-Projects Employee Management System 1.0.

**Is there a fix for CVE-2026-9418?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-9418 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-9418?** Check whether you run Code-Projects Employee Management System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A reflected cross-site scripting (XSS) vulnerability exists in code-projects Employee Management System 1.0 within the /changepassemp.php component. The root cause is the improper neutralization of the 'id' GET parameter, which is embedded into HTML navigation link attributes (such as href) without adequate escaping. A remote attacker can exploit this by crafting a malicious URL containing a JavaScript payload (e.g., using event handlers like OnMoUsEoVeR). If a victim visits the link, the payload executes in the context of their browser session, potentially leading to session hijacking or account takeover. A public exploit (PoC) has been disclosed.

## Affected products

- code-projects Employee Management System 1.0

## Timeline

- 2026-05-25: disclosed: Vulnerability published and exploit released.
- 2026-05-25: advisory

## References

- [https://code-projects.org/](https://code-projects.org/)
- [https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul16.md](https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul16.md)
- [https://vuldb.com/submit/813702](https://vuldb.com/submit/813702)
- [https://vuldb.com/vuln/365399](https://vuldb.com/vuln/365399)
- [https://vuldb.com/vuln/365399/cti](https://vuldb.com/vuln/365399/cti)

## Related threats

- [code-projects Employee Management System SQL injection in admin login](https://junglewise.ai/threats/cve-2026-76764-code-projects-employee-management-system-sql-injection-in-admin)
- [code-projects Employee Management System SQL injection in applyleaveprocess.php](https://junglewise.ai/threats/cve-2026-9451-code-projects-employee-management-system-sql-injection-in)
- [code-projects Employee Management System SQL injection in psubmit.php](https://junglewise.ai/threats/cve-2026-9450-code-projects-employee-management-system-sql-injection-in-psubmit)
- [code-projects Employee Management System SQL injection in changepassemp.php](https://junglewise.ai/threats/cve-2026-9449-code-projects-employee-management-system-sql-injection-in)
- [code-projects Employee Management System XSS in applyleave.php](https://junglewise.ai/threats/cve-2026-9448-code-projects-employee-management-system-xss-in-applyleave-php)
