Skip to main content

CodeAstro HRMS CVE-2026-12131

| EUVDEUVD-2026-36604 LOW
SQL Injection (CWE-89)
2026-06-12 VulDB GHSA-j9w5-f4cp-36h7
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Acquire low-privilege HRMS account
  2. Delivery
    Authenticate to web application
  3. Exploit
    Send crafted HTTP request to Payroll Invoice endpoint
  4. Execution
    Inject malicious SQL via ID parameter
  5. Impact
    Extract 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 Invoice function in application/controllers/Payroll.php with a controllable ID parameter value. No non-default configuration is required beyond a standard deployment of CodeAstro HRMS 1.0 with the Payroll module enabled, which is part of the default feature set. The primary exploitation limit is the authentication barrier (PR:L): unauthenticated external attackers cannot trigger this vulnerability without first obtaining valid credentials through phishing, credential stuffing, or other means. The actual depth of database access is additionally bounded by the SQL user privileges configured for the application's database connection.

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 ID parameter to the Invoice function endpoint. Using the publicly available PoC on GitHub as a template, the attacker iterates through payroll records, extracting salary data, employee PII, or credentials stored in the database. If the database user has write permissions, the attacker can further alter payroll records or pivot to other application functions.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Human Resource Management System 1.0

Affected Packages

euvd human_resource_management_system no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Network-reachable injection requiring low-privilege authentication; no scope change; availability impact omitted as parameter-level SQL injection does not typically cause service disruption.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 12, 2026 - 22:22 NVD
MEDIUM LOW
CVSS changed
Jun 12, 2026 - 22:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.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

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2024-35469 CRITICAL POC
9.8 May 30

A SQL injection vulnerability in /hrm/user/ in SourceCodester Human Resource Management System 1.0 allows attackers to e

CVE-2023-3391 CRITICAL POC
9.8 Jun 23

A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated critical severity (CVSS 9.8), th

CVE-2022-4273 CRITICAL POC
9.8 Dec 03

A vulnerability, which was classified as critical, has been found in SourceCodester Human Resource Management System 1.0

CVE-2022-43262 CRITICAL POC
9.8 Nov 16

Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the password parameter

CVE-2024-34221 HIGH POC
8.8 May 14

Sourcecodester Human Resource Management System 1.0 is vulnerable to Insecure Permissions resulting in privilege escalat

CVE-2022-43318 HIGH POC
8.8 Nov 07

Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the stateedit paramete

CVE-2024-34220 HIGH POC
7.5 May 14

Sourcecodester Human Resource Management System 1.0 is vulnerable to SQL Injection via the 'leave' parameter. Rated high

CVE-2022-4278 HIGH POC
7.2 Dec 03

A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated high severity (CVSS 7.2), this v

CVE-2024-13006 MEDIUM POC
6.9 Dec 29

A vulnerability, which was classified as critical, has been found in 1000 Projects Human Resource Management System 1.0.

CVE-2022-3473 MEDIUM POC
6.5 Oct 13

A vulnerability classified as critical has been found in SourceCodester Human Resource Management System. Rated medium s

CVE-2022-3470 MEDIUM POC
6.5 Oct 13

A vulnerability was found in SourceCodester Human Resource Management System. Rated medium severity (CVSS 6.5), this vul

CVE-2022-4279 MEDIUM POC
6.1 Dec 03

A vulnerability classified as problematic has been found in SourceCodester Human Resource Management System 1.0. Rated m

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy