LOW 3.5

CVE-2026-12130: Reflected XSS in CodeAstro HR Management System 1.0

CVE-2026-12130 is a reflected cross-site scripting (XSS) vulnerability in CodeAstro Human Resource Management System version 1.0. An authenticated user can inject malicious scripts through the 'protitle' parameter on the Projects Management Page, which are then executed in the browsers of other users who view the injected content. The vulnerability requires user interaction (a victim must click a crafted link) and does not grant an attacker elevated privileges or direct data access, which limits its severity. However, it can be used to steal session cookies, redirect users, or perform actions on behalf of authenticated users within the HR system.

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 security flaw has been discovered in CodeAstro Human Resource Management System 1.0. This affects an unknown part of the file /Projects/Add_Projects of the component Projects Management Page. The manipulation of the argument protitle results in cross site scripting. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.

6 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The flaw exists in the /Projects/Add_Projects endpoint of the Projects Management component. The 'protitle' parameter is not properly sanitized or encoded before being reflected in the HTTP response. This allows an attacker to inject arbitrary HTML and JavaScript. The CVSS v3.1 score of 3.5 reflects the attack vector (network-accessible), low complexity, requirement for authenticated access, and reliance on user interaction. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-94 (Improper Control of Generation of Code), indicating both direct script injection and potential code generation risks.

Business impact

For organizations using CodeAstro HR Management System 1.0, this vulnerability creates a moderate operational security concern. An insider threat or compromised low-privilege account could launch phishing campaigns against HR staff or executives by sending links that appear to come from the HR system but execute malicious payloads. This could lead to credential harvesting, unauthorized access to sensitive personnel records, or disruption of HR workflows. The impact is constrained by the need for an initial authenticated account and user interaction, reducing the likelihood of mass exploitation but not eliminating insider-driven attack scenarios.

Affected systems

CodeAstro Human Resource Management System version 1.0 is confirmed affected. No information is available on whether later versions or other CodeAstro products are impacted. Organizations should verify their deployed version and consult the vendor's security advisory for complete product coverage details.

Exploitability

Public exploit code is available, which lowers the barrier to attempted attacks. However, real-world exploitation is constrained by three factors: (1) the attacker must have a valid authenticated account, (2) the victim must click a malicious link, and (3) the attack executes in the victim's browser context only, not on the server. This combination means targeted social engineering or insider threats are the primary attack scenarios rather than widespread automated exploitation. The low CVSS score reflects these practical limitations.

Remediation

Immediate remediation requires input validation and output encoding. All user-supplied input to the 'protitle' parameter must be validated against a whitelist of acceptable characters and sanitized to remove or encode HTML metacharacters and script tags. Output encoding should use context-appropriate methods (HTML entity encoding for HTML context, JavaScript escaping for JavaScript context). Verify against the vendor advisory for available patches or version updates that address this issue. Until a patch is available, consider implementing Web Application Firewall (WAF) rules to block payloads containing common XSS patterns in the affected parameter.

Patch guidance

Contact CodeAstro directly or check their security advisories for available patches for version 1.0. Verify the specific patch version number and release date through official channels before deployment. If no patch is yet available, work with the vendor on a timeline for remediation. Test any patch in a non-production environment first to confirm it does not disrupt HR system functionality. Once patched, deploy to all instances of the application hosting the Projects Management Page.

Detection guidance

Monitor access logs for unusual patterns in the /Projects/Add_Projects endpoint, particularly requests containing encoded script tags, event handler attributes (onclick, onerror), or other XSS payloads in the 'protitle' parameter. Web Application Firewall logs should be reviewed for blocked XSS attempts. Inspect browser console errors or network traffic for unexpected redirects or script execution. Security Information and Event Management (SIEM) systems should correlate multiple suspicious requests from the same authenticated user or to the same victim within short time windows. Additionally, monitor for unauthorized access to HR records or session anomalies following suspected exploitation attempts.

Why prioritize this

While the CVSS score is low (3.5), organizations should prioritize this vulnerability based on data sensitivity. HR systems store personally identifiable information, salary data, and employment records—all high-value targets. The availability of public exploits reduces discovery friction for opportunistic attackers, even if practical exploitation barriers are high. Insider threat scenarios are plausible in HR environments, making this a credible vector for lateral movement or data exfiltration. Prioritize patching if CodeAstro releases a fix; implement compensating controls (WAF rules, access restrictions) if a delay is anticipated.

Risk score, explained

The CVSS v3.1 score of 3.5 is justified by the Low severity classification due to the Attack Vector (Network but requiring authentication), low Access Complexity, and limited impact (Integrity only, no Confidentiality or Availability breach). However, business context elevates concern: HR systems are high-value, sensitive environments. The public exploit availability and insider threat potential warrant treating this as higher-priority than the numeric score alone suggests. This is a case where organizational context (data classification, user base, threat landscape) should inform remediation priority beyond the base CVSS number.

Frequently asked questions

Does this vulnerability allow remote code execution on the CodeAstro server?

No. This is a reflected XSS vulnerability that executes only in a user's browser when they click a malicious link. It does not grant the attacker direct server access or the ability to execute code on the CodeAstro system itself. However, it can be used to steal the authenticated user's session token or perform actions on their behalf within the HR system.

Who can exploit this vulnerability?

An attacker must first obtain a valid authenticated account to the CodeAstro HR system. They then craft a malicious link containing an XSS payload in the 'protitle' parameter and send it to another user. When that user clicks the link, the payload executes in their browser. This makes insider threats and targeted social engineering the primary attack scenarios.

What data is at risk if this vulnerability is exploited?

Any data accessible to the authenticated user whose browser executes the malicious script is potentially at risk. In an HR system context, this includes employee records, salary information, personal contact details, and potentially benefits or payroll data. The attacker could also steal the victim's session cookie to impersonate them.

Is a patch available from CodeAstro?

The source data does not confirm a patch. Organizations should contact CodeAstro or check their official security advisories directly. Until a patch is released, implement WAF rules to filter XSS payloads and consider restricting access to the Projects Management Page to essential personnel only.

This analysis is for informational purposes and based on publicly available information as of the publication date. The details regarding affected versions, patch availability, and vendor guidance should be verified directly with CodeAstro. Organizations should perform their own risk assessment based on their deployment, data sensitivity, and threat environment. SEC.co does not provide legal advice or guarantee the accuracy of third-party vendor statements. For the most current information, consult the official CVE record and vendor security advisories. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).