Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid employee credentials
-
DeliveryAuthenticate to Employee Management System
-
ExploitSend HTTP request to cancel.php with SQL injection payload in id/token parameter
-
ExecutionVulnerable application concatenates payload into SQL query
-
PersistExecute arbitrary SQL commands
-
ImpactAccess, modify, or delete database records
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 valid authentication credentials to access the Employee Management System (PR:L per CVSS vector). The attacker must be able to reach the 370project/cancel.php endpoint via network access. The vulnerable parameters (id and token) must be processed by the cancel.php script without input validation. No special configuration or non-default setup is required - the vulnerability exists in the base installation of version 1.0. The limiting factor is the authentication requirement; unauthenticated remote attackers cannot exploit this vulnerability without first obtaining valid employee credentials through credential theft, phishing, or insider threat. |
| Impact | This vulnerability presents moderate real-world risk despite a CVSS score of 6.3. The attack vector is network-based (AV:N) with low complexity (AC:L), but critically requires low privileges (PR:L), meaning only authenticated users can exploit it. This significantly limits the attack surface compared to unauthenticated remote code execution vulnerabilities. The EPSS score is not provided in the available data, so exploitation probability cannot be quantified from standard metrics. However, the public availability of proof-of-concept code combined with the straightforward nature of SQL injection attacks suggests elevated real-world risk among threat actors with employee access or those who obtain valid credentials. The lack of KEV (CISA Known Exploited Vulnerabilities) status cannot be confirmed from provided data, but public POC availability indicates verified exploitability. For organizations deploying this system, the primary risk depends on internal access controls: if employee credentials are well-protected and access logging is in place, exploitation likelihood is reduced. If credentials are weak or widely distributed, risk is significantly elevated. |
| Exploit ScenarioDerived | An authenticated employee with valid credentials accesses the Employee Management System and crafts a malicious HTTP request to 370project/cancel.php with a SQL injection payload in the id or token parameter, such as id=' OR '1'='1. The vulnerable code concatenates this payload directly into the SQL query without sanitization, allowing the attacker to extract sensitive employee data, modify records, or delete information from the backend database. The low attack complexity means no special exploitation techniques or specific environment knowledge is required beyond valid login credentials. |
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 or token parameter in 370project/cancel.php, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has a publicly available proof-of-concept and CVSS score of 6.3 (medium severity) with low attack complexity, though exploitation requires valid user credentials.
RemediationAI
Immediate remediation requires upgrading to a patched version of code-projects Employee Management System if available from the vendor at https://code-projects.org/. If no patched version is available, implement input validation and parameterized prepared statements in the 370project/cancel.php file to sanitize the id and token parameters before use in SQL queries. Specifically, use parameterized queries (prepared statements with bound parameters) instead of string concatenation to prevent SQL injection. As an interim compensating control, restrict access to the cancel.php functionality to only authorized administrative users through network segmentation or firewall rules blocking the 370project/ directory to non-administrative IP ranges, understanding this limits legitimate employee functionality. Additionally, enable SQL query logging and Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the id and token parameters. Monitor database audit logs for suspicious query patterns or unauthorized data access attempts. Review and strengthen authentication controls for the system to reduce the number of valid credentials in circulation.
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 the PHP file 370project/cancel.php, which processes user-supplied input from the id and token parameters without proper sanitization or parameterized query protection. This classic SQL injection flaw (CWE-89) occurs when untrusted input is directly concatenated into SQL queries, allowing attackers to inject arbitrary SQL code. The vulnerability affects the code-projects Employee Management System product line across affected versions, as identified by CPE cpe:2.3:a:code-projects:employee_management_system:*:*:*:*:*:*:*:*, indicating all versions in this product family are potentially vulnerable.
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 security vulnerability has been detected in code-projects Employee Management System 1.0. The affected element is an unknown function of the file 370project/cancel.php. The manipulation of the argument id/token leads to sql injection. The attack is possible to be carried out 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
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-25832
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB