CVE-2026-24037: Horilla HRM has XSS Bypass through Project Name
Horilla is a free and open source Human Resource Management System (HRMS). In version 1.4.0, the hasxss() function attempts to block XSS by matching input against a set of regex patterns. However, the regexes are incomplete and context-agnostic, making them easy to bypass. Attackers are able to redirect users to malicious domains, run external JavaScript, and steal CSRF tokens that can be used to craft CSRF attacks against admins. This issue has been fixed in version 1.5.0.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24037?
CVE-2026-24037 has a medium severity level due to its potential for Cross-Site Scripting (XSS) attacks.
How do I fix CVE-2026-24037?
To fix CVE-2026-24037, you should upgrade to Horilla HRM version 1.5.0 or later.
What type of vulnerability is CVE-2026-24037?
CVE-2026-24037 is classified as a Cross-Site Scripting (XSS) vulnerability.
Who is affected by CVE-2026-24037?
Users of Horilla HRM versions prior to 1.5.0 are affected by CVE-2026-24037.
What does CVE-2026-24037 exploit?
CVE-2026-24037 exploits incomplete regex patterns in the has_xss() function, leading to possible XSS attacks.