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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:horilla:horilla:1.4.0:*:*:*:*:*:*:*

History

17 Jun 2026, 10:22

Type Values Removed Values Added
Summary
  • (es) Horilla es un Sistema de Gestión de Recursos Humanos (HRMS) gratuito y de código abierto. En la versión 1.4.0, la función has_xss() intenta bloquear XSS comparando la entrada con un conjunto de patrones de expresiones regulares. Sin embargo, las expresiones regulares son incompletas y agnósticas al contexto, lo que las hace fáciles de eludir. Los atacantes pueden redirigir a los usuarios a dominios maliciosos, ejecutar JavaScript externo y robar tokens CSRF que pueden usarse para elaborar ataques CSRF contra administradores. Este problema ha sido solucionado en la versión 1.5.0.

29 Jan 2026, 18:56

Type Values Removed Values Added
References () https://github.com/horilla-opensource/horilla/releases/tag/1.5.0 - () https://github.com/horilla-opensource/horilla/releases/tag/1.5.0 - Release Notes
References () https://github.com/horilla-opensource/horilla/security/advisories/GHSA-rqw5-fjm4-rgvm - () https://github.com/horilla-opensource/horilla/security/advisories/GHSA-rqw5-fjm4-rgvm - Exploit, Vendor Advisory
First Time Horilla
Horilla horilla
CPE cpe:2.3:a:horilla:horilla:1.4.0:*:*:*:*:*:*:*

22 Jan 2026, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-22 04:15

Updated : 2026-06-17 10:22


NVD link : CVE-2026-24037

Mitre link : CVE-2026-24037

CVE.ORG link : CVE-2026-24037


JSON object : View

Products Affected

horilla

  • horilla
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')