CVE-2025-59524: Horilla Stored XSS Vulnerability via File Upload in Reimbursement Panel
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59524?
CVE-2025-59524 is considered a high severity vulnerability due to its potential for unauthorized file uploads.
How do I fix CVE-2025-59524?
To fix CVE-2025-59524, upgrade the Horilla Human Resource Management System to version 1.4.0 or later.
What are the potential impacts of CVE-2025-59524?
CVE-2025-59524 can lead to remote code execution or the uploading of malicious files if exploited.
Who is affected by CVE-2025-59524?
CVE-2025-59524 affects all versions of Horilla Human Resource Management System prior to 1.4.0.
What kind of attack can exploit CVE-2025-59524?
An attacker can exploit CVE-2025-59524 by bypassing client-side validation to upload malicious files.