VYPR
Unrated severityNVD Advisory· Published Feb 23, 2025· Updated Feb 24, 2025

SourceCodester Best Employee Management System Add Role Page Role.php cross site scripting

CVE-2025-1592

Description

A vulnerability was found in SourceCodester Best Employee Management System 1.0. It has been rated as problematic. Affected by this issue is some unknown functionality of the file /admin/Operations/Role.php of the component Add Role Page. The manipulation of the argument assign_name/description leads to cross site scripting. The attack may be launched remotely.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

SourceCodester Best Employee Management System 1.0 is vulnerable to stored XSS in the Add Role page via the assign_name and description parameters.

Vulnerability

A cross-site scripting (XSS) vulnerability exists in SourceCodester Best Employee Management System version 1.0. The flaw resides in the /admin/Operations/Role.php file, specifically within the Add Role functionality. The assign_name and description parameters are not properly sanitized, allowing an attacker to inject arbitrary JavaScript or HTML code. The vulnerability is classified as problematic (low severity) and is remotely exploitable [1].

Exploitation

An attacker needs only network access to the web application. No authentication is required to reach the vulnerable page. The attacker can craft a malicious payload in the assign_name or description fields and submit the Add Role form. The injected script will execute in the context of the victim's browser when the role list is rendered [1].

Impact

Successful exploitation leads to stored cross-site scripting (XSS). An attacker can execute arbitrary JavaScript in the browser of any administrator who views the role list, potentially leading to session hijacking, credential theft, or defacement of the admin interface [1].

Mitigation

SourceCodester has not released a patch for this vulnerability as of the publication date (2025-02-23). Users should manually validate and sanitize the assign_name and description inputs in /admin/Operations/Role.php or implement a Web Application Firewall (WAF) rule to block XSS payloads. The software may be End-of-Life (EOL), so upgrading to an alternative employee management system is recommended [1].

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

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.