CVE-2025-59524
JSON

7.7high

Horilla Stored XSS Vulnerability via File Upload in Reimbursement Panel

Severity
7.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.36% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Horilla is a free and open source Human Resource Management System (HRMS). Prior to version 1.4.0, the file upload flow performs validation only in the browser and does not enforce server-side checks. An attacker can bypass the client-side validation (for example, with an intercepting proxy or by submitting a crafted request) to store an executable HTML document on the server. When an administrator or other privileged user views the uploaded file, the embedded script runs in their context and sends session cookies (or other credentials) to an attacker-controlled endpoint. The attacker then reuses those credentials to impersonate the admin. This issue has been patched in version 1.4.0.

Affected

Product or packageVersionsReported by
horilla-opensource horilla< 1.4.0CVE List
horilla horillabefore 1.4.0NVD

All scores

GitHub_M7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-434

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Horilla is a free and open source Human Resource Management System (HRMS). Prior to version 1.4.0, the file upload flow performs validation only in the browser and does not enforce server-side checks. An attacker can bypass the client-side validation (for example, with an intercepting proxy or by submitting a crafted request) to store an executable HTML document on the server. When an administrator or other privileged user views the uploaded file, the embedded script runs in their context and sends session cookies (or other credentials) to an attacker-controlled endpoint. The attacker then reuses those credentials to impersonate the admin. This issue has been patched in version 1.4.0.

NVD (es)

Horilla es un Sistema de Gestión de Recursos Humanos (HRMS) de código abierto y gratuito. Antes de la versión 1.4.0, el flujo de carga de archivos realiza la validación solo en el navegador y no aplica verificaciones del lado del servidor. Un atacante puede omitir la validación del lado del cliente (por ejemplo, con un proxy interceptor o enviando una solicitud manipulada) para almacenar un documento HTML ejecutable en el servidor. Cuando un administrador u otro usuario privilegiado visualiza el archivo cargado, el script incrustado se ejecuta en su contexto y envía cookies de sesión (u otras credenciales) a un punto final controlado por el atacante. El atacante luego reutiliza esas credenciales para suplantar al administrador. Este problema ha sido parcheado en la versión 1.4.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59524 changed 2025-09-24CVE Terms of Use
NVDCVE-2025-59524 changed 2026-06-17Public domain