CVE-2026-12129: CodeAstro HRMS 1.0 Cross-Site Scripting (XSS) – Dashboard Vulnerability
CodeAstro Human Resource Management System version 1.0 contains a cross-site scripting (XSS) vulnerability in its Dashboard Interface. An attacker with login credentials can inject malicious scripts through the todo_data parameter in the /dashboard/add_tod endpoint. When another authenticated user views the affected page, the injected script executes in their browser, potentially allowing credential theft, session hijacking, or unauthorized actions performed on their behalf. The vulnerability requires user interaction—specifically, a victim must visit a page containing the malicious payload—and can only be exploited by someone with valid system access.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 3.5 LOW · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-79, CWE-94
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-12 / 2026-06-17
NVD description (verbatim)
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.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-12129 is a stored or reflected cross-site scripting vulnerability arising from improper input sanitization in the Dashboard Interface component of CodeAstro HRMS 1.0. The /dashboard/add_tod endpoint fails to adequately validate or encode the todo_data parameter before rendering it in HTML context. The vulnerability maps to CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-94 (Code Injection), indicating both a direct XSS issue and potential for more complex injection attacks depending on how the parameter is processed. The attack vector is network-based, requires low complexity, but mandates prior authentication and user interaction to trigger. No special privileges are required beyond standard user login.
Business impact
While the CVSS score of 3.5 reflects a low overall severity, the business impact warrants attention in HR systems. Compromised employee data, task lists, or sensitive HR information could be exposed or manipulated. An internal threat actor with login credentials could craft payloads to steal session tokens, redirect users to phishing pages, or perform unauthorized HR transactions (such as modifying employee records or accessing payroll data) under the victim's identity. For organizations relying on CodeAstro HRMS for critical HR operations, even low-severity XSS can create compliance and data governance issues, particularly if the system processes PII or health information.
Affected systems
CodeAstro Human Resource Management System version 1.0 is the sole confirmed affected product. The vulnerability resides in the Dashboard Interface component, specifically the /dashboard/add_tod endpoint. Only authenticated users can access this functionality, limiting the exposure to those with valid system credentials. Organizations using this version in production should immediately inventory their deployment and prioritize assessment.
Exploitability
Public exploit code exists for this vulnerability, reducing the barrier to exploitation. However, real-world risk remains moderate due to authentication and user interaction requirements. An attacker must first obtain valid login credentials (through phishing, credential stuffing, insider threat, or other means) and then craft a malicious todo_data payload. The victim must then navigate to a page containing or referencing that payload for the XSS to execute. This multi-step requirement means opportunistic mass exploitation is unlikely, but targeted attacks against specific organizations or individuals using CodeAstro HRMS are plausible. The availability of public proof-of-concept code accelerates the timeline for weaponization.
Remediation
Immediate patching of CodeAstro HRMS to a version that addresses CVE-2026-12129 is the primary remediation. Verify the patched version number against the official CodeAstro security advisory before deployment. As an interim control pending patching, implement Content Security Policy (CSP) headers to restrict script execution and enforce input validation at the application and database levels. Additionally, review access logs for the /dashboard/add_tod endpoint and audit recent todo_data entries for suspicious payloads. Consider restricting dashboard access to a smaller trusted group of users until patching is complete.
Patch guidance
Contact CodeAstro for the specific patch version that resolves CVE-2026-12129, verify it against their official security advisory, and test the update in a non-production environment before rollout. The vulnerability affects version 1.0; confirm that your target patch version is confirmed by the vendor as containing the fix. Given the low CVSS score but the presence of public exploits, schedule patching within your standard change management window but do not defer indefinitely—aim for deployment within 30 days.
Detection guidance
Monitor web server and application logs for requests to /dashboard/add_tod with suspicious todo_data parameters containing HTML tags, JavaScript keywords (e.g., 'onclick', 'onerror', 'script'), or encoded equivalents. Implement WAF rules to block requests with such payloads. Review database records in tables storing todo items for malformed or suspicious content. Check user session logs for unusual activity following dashboard access. If you maintain SIEM or log aggregation, create alerts for any POST/GET requests to the vulnerable endpoint that include script-like patterns.
Why prioritize this
Although the CVSS score is low (3.5), this vulnerability merits prompt attention because: (1) public exploits exist and can be weaponized quickly; (2) it affects an HR system handling potentially sensitive employee and compensation data; (3) it requires authentication but not elevated privileges, making it accessible to a broad internal user base; and (4) successful exploitation can lead to privilege escalation, data exfiltration, or compliance violations. Prioritize this above unpatched vulnerabilities in less sensitive systems, but do not treat it as a critical incident requiring after-hours response.
Risk score, explained
The CVSS 3.1 score of 3.5 (LOW) reflects the requirement for prior authentication (PR:L), user interaction (UI:R), and limited impact—only integrity is affected (I:L), with no confidentiality or availability impact. These constraints significantly reduce the severity rating. However, the presence of public exploit code, the HR-sensitive context, and the potential for targeted attacks justify security review and timely remediation despite the low numerical score.
Frequently asked questions
Can an unauthenticated attacker exploit this vulnerability?
No. The vulnerability requires valid login credentials to access the /dashboard/add_tod endpoint. An attacker must first obtain or compromise an employee's account before attempting exploitation.
What happens if I do not patch CodeAstro HRMS immediately?
The risk of public, targeted exploitation increases over time as more actors become aware of and test the public exploit code. If your CodeAstro instance is exposed to untrusted networks or employees with weak passwords, you should prioritize patching within 30 days. However, this is not a 'patch in the next 6 hours' level vulnerability.
How can I detect if this vulnerability has been exploited in my system?
Search your application and web server logs for unusual todo_data parameters in requests to /dashboard/add_tod, look for script tags or JavaScript keywords, and review stored todo items in the database for suspicious content. Check audit logs for unusual changes made to HR records following the vulnerability disclosure date.
Does this vulnerability affect CodeAstro versions other than 1.0?
The available information confirms version 1.0 as affected. Contact CodeAstro to determine whether other versions are vulnerable and whether a fix is available for your version before deploying any remediation.
This analysis is based on publicly available vulnerability data as of June 2026. No liability is assumed for the accuracy or completeness of vendor advisory information, patch availability, or version details—readers must independently verify all guidance against official CodeAstro documentation. This is an educational resource and does not constitute legal, compliance, or security assurance. Organizations must conduct their own risk assessments and follow their internal change management procedures before deploying patches or controls. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10112LOWXSS in STUDENT-MANAGEMENT-SYSTEM 1.0 Dashboard
- CVE-2026-10228LOWXSS Vulnerability in raisulislamg4 Student Management System
- CVE-2026-10234LOWMettle Sendportal XSS Vulnerability – Campaign Handler Remote Exploit
- CVE-2026-10244LOWSourceCodester Pharmacy Sales and Inventory System XSS Vulnerability
- CVE-2026-10245LOWStored XSS in SourceCodester Pharmacy Sales and Inventory System 1.0
- CVE-2026-10246LOWStored XSS in SourceCodester Pharmacy System 1.0 – Remediation Guide
- CVE-2026-10247LOWXSS in SourceCodester Pharmacy Sales System 1.0
- CVE-2026-10514LOWCordysCRM Cross-Site Scripting (XSS) Vulnerability – Patch to 1.7.0