XSS in Horilla

CVE-2026-24037

Horilla is a free and open source Human Resource Management System (HRMS). In version 1.4.0, the has_xss() 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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (14.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-24037?
CVE-2026-24037 is a medium-severity vulnerability in Horilla, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2026-01-22.
How severe is CVE-2026-24037?
Medium severity. CVSS v3 base score is 4.8 out of 10.