Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire low-privilege HRMS account
-
DeliveryAuthenticate to web application
-
ExploitSend crafted HTTP request to Payroll Invoice endpoint
-
ExecutionInject malicious SQL via ID parameter
-
ImpactExtract or modify HR/payroll 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 authenticated session with at minimum low-privilege access to the Payroll Invoice Module - the CVSS 4.0 PR:L metric confirms this. The attacker must be able to send HTTP requests to the |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) is tempered by the PR:L requirement - authentication is mandatory, ruling out unauthenticated mass exploitation. However, the E:P exploit modifier confirms a public PoC exists on GitHub, meaningfully closing the gap between theoretical and realized risk. Impact metrics are rated Low across confidentiality, integrity, and availability in the CVSS 4.0 vector, but SQL injection impact is often underestimated at the CVSS level: depending on database user privileges, an attacker may achieve full table dumps or data manipulation beyond what Low ratings imply. No EPSS data was provided, preventing probabilistic exploitation comparison. The CVE is not in CISA KEV, so no confirmed active exploitation in the wild has been recorded. Real-world priority is moderate: highest for organizations where HR/payroll data sensitivity is elevated and where low-privilege HRMS accounts are broadly distributed to staff. |
| Exploit ScenarioDerived | An attacker with a low-privilege HRMS account - such as a standard employee or contractor - authenticates to the application and navigates to the Payroll Invoice Module, sending a crafted HTTP request with a SQL-injected |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
SQL injection in CodeAstro Human Resource Management System 1.0 enables authenticated remote attackers to manipulate the unsanitized ID parameter within the Invoice function of application/controllers/Payroll.php, allowing arbitrary database reads and writes against the underlying HR and payroll data store. A public proof-of-concept exploit is hosted on GitHub, confirming the vulnerability is actively weaponizable by any attacker holding a low-privilege account. No vendor patch has been identified; the CVE is not in CISA KEV, but the CVSS 4.0 vector carries E:P (exploit published), reflecting confirmed public exploit availability.
RemediationAI
No vendor-released patch has been identified at time of analysis. Given CodeAstro's nature as a demo/educational PHP application, a timely upstream fix cannot be assumed. The direct code-level fix is to refactor the Invoice function in application/controllers/Payroll.php to use prepared statements or parameterized queries for the ID argument, replacing any direct string interpolation into the SQL query. As a compensating control, deploying a WAF rule targeting SQL injection patterns on the payroll invoice endpoint can reduce exploitation likelihood without modifying application code, though WAFs can be bypassed by sufficiently obfuscated payloads. Restricting access to the Payroll Invoice Module by IP allowlist or role-based access control reduces the attacker pool to trusted network segments. The public PoC at https://github.com/ashikmd0507/CVE/tree/main/SQL-Injection-via-Payroll-Invoice-Module should be used to validate any remediation applied before returning the system to production.
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 component is the Invoice function inside application/controllers/Payroll.php, part of the Payroll Invoice Module in CodeAstro's PHP-based Human Resource Management System version 1.0. The root cause is CWE-89 (Improper Neutralization of Special Elements Used in an SQL Command), a classic unsanitized parameter injection where the ID argument is interpolated directly into a database query without parameterization or escaping. The CPE string cpe:2.3:a:codeastro:human_resource_management_system:*:*:*:*:*:*:*:* uses a wildcard version field, implying all distributed versions are potentially in scope, though only 1.0 is explicitly named in the advisory. CodeAstro products are PHP demo/educational applications commonly deployed in production without hardening, making real-world exposure plausible.
Know when Human Resource 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
Network-reachable injection requiring low-privilege authentication; no scope change; availability impact omitted as parameter-level SQL injection does not typically cause service disruption.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in CodeAstro Human Resource Management System 1.0. This vulnerability affects the function Invoice of the file \application\controllers\Payroll.php of the component Payroll Invoice Module. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could 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.
A SQL injection vulnerability in /hrm/user/ in SourceCodester Human Resource Management System 1.0 allows attackers to e
A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated critical severity (CVSS 9.8), th
A vulnerability, which was classified as critical, has been found in SourceCodester Human Resource Management System 1.0
Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the password parameter
Sourcecodester Human Resource Management System 1.0 is vulnerable to Insecure Permissions resulting in privilege escalat
Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the stateedit paramete
Sourcecodester Human Resource Management System 1.0 is vulnerable to SQL Injection via the 'leave' parameter. Rated high
A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated high severity (CVSS 7.2), this v
A vulnerability, which was classified as critical, has been found in 1000 Projects Human Resource Management System 1.0.
A vulnerability classified as critical has been found in SourceCodester Human Resource Management System. Rated medium s
A vulnerability was found in SourceCodester Human Resource Management System. Rated medium severity (CVSS 6.5), this vul
A vulnerability classified as problematic has been found in SourceCodester Human Resource Management System 1.0. Rated m
EUVD-2026-36604
GHSA-j9w5-f4cp-36h7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB