Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire low-privilege application credentials
-
DeliverySend crafted HTTP request to /psubmit.php
-
ExploitInject SQL payload via pid parameter
-
ExecutionDatabase executes attacker-controlled query
-
ImpactExfiltrate or tamper with 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 a valid low-privilege authenticated session within the Employee Management System - unauthenticated anonymous exploitation is not possible per the CVSS PR:L vector. The vulnerable endpoint /psubmit.php must be reachable over the network, and the pid parameter must be user-controlled in the request. No non-default configuration setting is required; the vulnerability exists in the default application state. Limiting factors include: authenticated access is a hard prerequisite, reducing the exposed attacker population to users or compromised accounts; the SSVC framework rates the attack as not automatable, meaning mass exploitation campaigns are not straightforward; the product is a demo/educational PHP application, limiting realistic production deployment footprint; and EPSS at 0.03% reflects no observed mass scanning or exploitation at time of analysis. |
| Impact | The CVSS 4.0 score of 2.1 is low and consistent with the attack profile: network-reachable (AV:N), low complexity (AC:L), no attack requirements (AT:N), but requiring low-privilege authentication (PR:L), with only partial confidentiality, integrity, and availability impact on the vulnerable system and no scope change to other components. EPSS at 0.03% (8th percentile) confirms statistically negligible mass-exploitation probability, consistent with a niche demo application. No CISA KEV listing exists, indicating no confirmed active exploitation in the wild. The SSVC framework rates exploitation status as poc, automatable as no, and technical impact as partial - reinforcing that this is not a spray-and-pray threat but a targeted-credential-required attack. The primary real-world risk driver is the publicly available GitHub PoC, which lowers attacker skill requirements for anyone who already has application credentials. Given the educational/demo nature of this product, production exposure is expected to be limited, but organizations that have deployed it publicly should treat remediation as urgent. |
| Exploit ScenarioDerived | An attacker with low-privilege credentials to the Employee Management System sends a crafted HTTP request to /psubmit.php with a SQL-injected pid parameter value such as '1 UNION SELECT username,password,3 FROM users--', bypassing the application's query logic. A public PoC hosted on GitHub demonstrates the specific payload and request structure, meaning exploitation requires minimal expertise beyond credential acquisition. The injected query executes in the database context of the application's service account, potentially exposing all records the account can access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
SQL injection in the /psubmit.php endpoint of code-projects Employee Management System 1.0 enables authenticated remote attackers to manipulate the pid parameter and inject arbitrary SQL commands against the backend database. A public proof-of-concept exploit has been released on GitHub, reducing the skill barrier for exploitation against unpatched deployments. Despite a low CVSS 4.0 base score of 2.1 reflecting partial impact scope and low-privilege requirements, the combination of network accessibility and public PoC warrants prompt remediation for any internet-facing instance; no public exploit identified meets CISA KEV criteria, and no vendor-released patch has been confirmed at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary fix is to replace direct SQL string concatenation in /psubmit.php with parameterized queries or prepared statements using PHP's PDO or MySQLi extension - this eliminates the injection vector entirely with no functional trade-offs. As an immediate compensating control, input validation and allowlisting on the pid parameter (restricting it to expected numeric or alphanumeric formats) can reduce the injection surface, though this is not a substitute for parameterized queries. Deploying a web application firewall rule targeting SQL injection patterns on the /psubmit.php endpoint can provide layered defense but may generate false positives on legitimate parameter values. Restricting application access to trusted IP ranges or internal networks eliminates the network-reachable attack vector (AV:N) entirely. Organizations with no immediate path to code remediation should strongly consider taking the application offline if internet-facing. Reference the VulDB advisory at https://vuldb.com/vuln/365431 and the public PoC at https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul22.md for technical reproduction detail.
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 affected product is the PHP-based Employee Management System 1.0 by code-projects (CPE: cpe:2.3:a:code-projects:employee_management_system:*:*:*:*:*:*:*:*), a demo-grade open-source application. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), occurring in /psubmit.php where the pid parameter - likely a position or submission identifier - is incorporated into SQL queries without proper sanitization or parameterized query handling. PHP applications of this era and style commonly use direct string concatenation when building SQL queries, making them inherently susceptible to this class of injection. The wildcard CPE version field suggests NVD has not scoped the vulnerability narrowly, though ENISA EUVD explicitly identifies version 1.0 as the confirmed affected release.
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
2DescriptionCVE.org
A security flaw has been discovered in code-projects Employee Management System 1.0. Affected is an unknown function of the file /psubmit.php. The manipulation of the argument pid results in sql injection. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.
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-31667
GHSA-g2pj-mrh2-7gxw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB