Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid application credentials or session
-
DeliveryAccess edit.php endpoint
-
ExploitInject SQL payload in ID parameter
-
ExecutionQuery executes against database
-
PersistExtract or modify data
-
ImpactEscalate privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session in code-projects Employee Management System 1.0 (PR:L - login credentials or stolen session token required). The attack is triggered by sending a crafted HTTP GET or POST request to the edit.php endpoint with a SQL injection payload in the ID parameter. No special configuration or non-default settings are required beyond basic web server deployment. The vulnerability is limited to the edit.php functionality; other endpoints may not be affected if they implement parameterized queries. Exploitation is blocked if the application enforces strict input type validation (whitelist numeric-only ID) or if the database user lacks permissions to execute UNION queries or access sensitive tables. |
| Impact | CVSS 5.3 with CVSS:4.0 vector indicates moderate but constrained risk. The critical signals are: AV:N (network-accessible), AC:L (low complexity), and PR:L (requires login), balanced against limited scope (S:X implies likely unchanged scope) and restricted impact (VC:L, VI:L, VA:L - low confidentiality, integrity, and availability impact). E:P indicates proof of concept is available, elevating practical risk. EPSS is not provided, but the combination of authentication requirement, limited impact scope, and public POC availability suggests this affects a smaller attack surface than unauthenticated network RCE vulnerabilities. Real-world risk depends on deployment: organizations running this open-source Employee Management System in production (likely small organizations or internal deployments) face moderate SQL injection risk if users are trusted or if account credentials are compromised. The public exploit lowers the barrier for opportunistic attackers but does not indicate active widespread exploitation. |
| Exploit ScenarioDerived | An authenticated user with valid credentials logs into the Employee Management System, navigates to the employee edit page, and modifies the ID parameter from a legitimate value (e.g., /370project/edit.php?ID=5) to an SQL injection payload such as /370project/edit.php?ID=5' UNION SELECT email, password FROM users -- . The vulnerable code concatenates this unsanitized input directly into the SQL query, returning the password hash of all users in the application. The attacker can then escalate privileges, access sensitive employee records (salary, personal details), or modify records to grant themselves administrative rights. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 27, 2026
SQL injection in code-projects Employee Management System 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the ID parameter in 370project/edit.php, potentially leading to unauthorized data access or modification. The vulnerability requires valid user credentials (PR:L per CVSS vector) and has publicly available exploit code; however, the limited scope (VC:L, VI:L, VA:L) and requirement for authentication reduce real-world risk compared to the base CVSS score of 5.3.
RemediationAI
No vendor-released patch has been identified at time of analysis. Immediate remediation requires manual code review and patching: replace all instances of direct SQL query concatenation with parameterized queries or prepared statements using PHP's mysqli_prepare() or PDO prepared statements. Specifically, audit 370project/edit.php and any other edit endpoints to enforce input validation on the ID parameter (whitelist numeric IDs, reject non-integer input), implement database user privilege separation (application DB user should not have DROP/CREATE permissions), and apply principle of least privilege to edit operations. Temporary compensating controls pending patching include restricting edit.php access by IP whitelist or network segmentation, enforcing strong session management (short timeouts, secure cookies), and implementing Web Application Firewall rules to detect and block SQL injection patterns (single quotes, comment syntax, UNION keywords in parameter values). These controls reduce exploitability but do not eliminate the vulnerability. Organizations should contact code-projects.org for patch availability or consider migrating to a maintained employee management platform if no update is forthcoming.
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 vulnerability exists in a PHP-based employee management web application where user-supplied input in the ID parameter of the edit.php endpoint is not properly sanitized before being incorporated into SQL queries. This is a classic CWE-89 SQL injection flaw where attackers can manipulate SQL query syntax to bypass authentication, extract sensitive database records, or modify data. The application architecture suggests a simple MVC-style structure with direct database interaction in the edit functionality, lacking parameterized queries or prepared statements.
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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was determined in code-projects Employee Management System 1.0. This affects an unknown part of the file 370project/edit.php. This manipulation of the argument ID causes sql injection. The attack may be initiated remotely. The exploit has been publicly disclosed and may be utilized.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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-25820
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB