Skip to main content

CodeAstro HRMS CVE-2026-12129

| EUVDEUVD-2026-36562 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-12 VulDB GHSA-ppff-2mf4-jfqq
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege HRMS credentials
  2. Delivery
    Submit crafted JavaScript payload in `todo_data` to `/dashboard/add_tod`
  3. Exploit
    Malicious script persisted in application database
  4. Execution
    Privileged admin loads dashboard to-do view
  5. Persist
    Stored script executes in admin's browser
  6. Impact
    Exfiltrate session cookie or perform privileged action as admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to possess a valid authenticated session with at least low-privilege access to the CodeAstro HRMS dashboard (PR:L per the CVSS 4.0 vector), sufficient to submit entries to the to-do feature via the /dashboard/add_tod endpoint. The stored payload only executes when a second user with dashboard access passively loads the to-do list view containing the injected entry (UI:P per CVSS 4.0). Exploitation is limited by: (1) the requirement that the attacker first obtain authenticated credentials - unauthenticated external exploitation is not possible; (2) the necessity that a victim user, ideally one with elevated privileges, subsequently and naturally navigates to the to-do list view; and (3) the application must be accessible over a network path from the attacker. No non-default configuration is required beyond authenticated access and the dashboard to-do feature being in use. The attack does not require any special tool beyond a web browser or curl-equivalent capable of submitting the crafted POST request.

Impact

The CVSS 4.0 score of 2.0 reflects constrained base metrics: low-privilege authentication (PR:L), passive victim interaction (UI:P), and only low integrity impact on the vulnerable system (VI:L) with no confidentiality or availability impact scored against the vulnerable system itself. EPSS data was not provided, and the vulnerability is absent from the CISA KEV catalog, indicating no confirmed widespread active exploitation. However, a public POC exists on GitHub (E:P in the CVSS threat component), which reduces the skill threshold for exploitation to near zero for anyone who holds a valid account. The stored persistence of the payload meaningfully elevates practical risk: a single injection from a low-privilege employee account can target every privileged administrator who loads the dashboard, without any further attacker interaction. For HRM systems - which typically store sensitive employee PII, payroll data, and HR workflows - administrative session compromise could cascade into a broader breach. The CVSS 4.0 score arguably understates subsequent-system confidentiality impact (SC:N) given that stored XSS commonly enables session token theft affecting the victim's authenticated context. Overall: low urgency for patching on isolated, internally-accessible deployments, but elevated priority where the HRMS is internet-exposed or shares authentication with other internal systems.

Exploit ScenarioDerived

An authenticated low-privilege employee accesses the CodeAstro HRMS dashboard and submits a to-do item via /dashboard/add_tod with a JavaScript payload (e.g., a cookie-stealing document.cookie exfiltration script) embedded in the todo_data field. The application stores the unsanitized payload in the database without encoding. When an HR administrator later opens the dashboard and the to-do list renders, the payload executes in the admin's browser, silently transmitting their session token to an attacker-controlled endpoint. A public POC demonstrating this exact technique is available at https://github.com/ashikmd0507/CVE/tree/main/Stored-XSS-via-TO-DO-LIST, making exploitation accessible to low-skill attackers.

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

Stored cross-site scripting in CodeAstro Human Resource Management System 1.0 allows an authenticated remote attacker to inject persistent malicious scripts via the todo_data parameter at the /dashboard/add_tod endpoint. When a higher-privileged user subsequently views the to-do list in the dashboard, the stored payload executes silently in their browser context, enabling session hijacking or unauthorized privileged actions. A public proof-of-concept exploit is available on GitHub; no CISA KEV listing exists at time of analysis, but the low barrier to exploitation for any authenticated user elevates practical risk above the CVSS 4.0 score of 2.0 implies.

RemediationAI

No vendor-released patch has been identified at time of analysis. The primary fix requires the CodeAstro maintainers to apply output encoding (HTML entity encoding) to the todo_data field before rendering it in the dashboard, and input validation server-side to reject or sanitize script-bearing payloads on submission to /dashboard/add_tod. Deployers should monitor the VulDB advisory at https://vuldb.com/vuln/370614 and the vendor site at https://codeastro.com/ for an official patch release. As immediate compensating controls: implement a strict Content Security Policy (CSP) header that disallows inline scripts - note this may break legitimate dynamic functionality if the application relies on inline JavaScript, so testing is required before deployment. Deploy a Web Application Firewall rule to detect and block common XSS patterns (e.g., <script>, onerror=, javascript: sequences) in the todo_data parameter. Restrict dashboard access to the minimum set of necessary personnel, reducing the attack surface for stored payload delivery. Review existing to-do list entries for injected payloads and purge any suspicious content from the database immediately.

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 Dashboard Interface to-do feature of CodeAstro Human Resource Management System 1.0, identified by CPE cpe:2.3:a:codeastro:human_resource_management_system:*:*:*:*:*:*:*:*. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): the application fails to sanitize or HTML-encode user-supplied input in the todo_data POST parameter before persisting it to the database and re-rendering it in the dashboard UI. The POC repository title 'Stored-XSS-via-TO-DO-LIST' confirms this is persistent (stored) XSS rather than reflected XSS, meaning the payload survives across sessions and targets any user who loads the to-do view - not just the submitter. This distinction materially increases risk over reflected XSS because exploitation does not require tricking a victim into clicking a crafted link; the payload lies dormant in the application until a privileged user naturally browses to the dashboard.

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.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.4 MEDIUM

Network-accessible stored XSS requiring low-privilege auth and victim page-load; scope changes as script runs in victim's browser context with low C and I impact.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
Jun 12, 2026 - 21:22 NVD
MEDIUM LOW
CVSS changed
Jun 12, 2026 - 21:22 NVD
5.1 (MEDIUM) 2.0 (LOW)

DescriptionCVE.org

A vulnerability was identified in CodeAstro Human Resource Management System 1.0. Affected by this issue is some unknown functionality of the file /dashboard/add_tod of the component Dashboard Interface. The manipulation of the argument todo_data leads to cross site scripting. The attack may be initiated remotely. The exploit is publicly available and might be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% 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

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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