{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59524 exists.","fix":"No fix has been published for CVE-2025-59524 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59524 is a high-severity cross-site scripting vulnerability in horilla-opensource horilla, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59524 and fix it if it is affected.\n\nWhat it is: CVE-2025-59524 is a high-severity cross-site scripting vulnerability in horilla-opensource horilla, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59524 exists.\n\nAffected product: horilla-opensource horilla. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59524/ (Markdown: https://insights.sbomify.com/CVE-2025-59524/index.md)","id":"CVE-2025-59524","markdown":"https://insights.sbomify.com/CVE-2025-59524/index.md","name":"CVE-2025-59524","record":{"aliases":["GHSA-mff9-p8j9-9v5q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"HRMS web application","requires_auth":"none","summary":"Attackers can upload malicious HTML files to trigger stored XSS, stealing admin session cookies and gaining unauthorized access to the HRMS.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"horilla","vendor":"horilla"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Horilla Stored XSS Vulnerability via File Upload in Reimbursement Panel","id":"CVE-2025-59524","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Horilla has Improper Input Sanitization Leading to XSS and Admin Account Takeover","id":"CVE-2025-59525"},"packages":[],"prev":{"headline":"Command injection in LemonLDAP::NG","id":"CVE-2025-59518"},"products":["horilla"],"published":"2025-09-24","related":[{"cvss_score":9.9,"headline":"Horrila Stored XSS Vulnerability via Ticket Comment section","id":"CVE-2025-59832","kev_date_added":null,"published":"2025-09-25"},{"cvss_score":8.8,"headline":"Horilla has HTML Injection Issue that, with Phishing, Leads to Account Takeover","id":"CVE-2026-24010","kev_date_added":null,"published":"2026-01-22"},{"cvss_score":8.1,"headline":"Horilla HR has 2FA Bypass through its OTP Handling Logic","id":"CVE-2026-24038","kev_date_added":null,"published":"2026-01-22"},{"cvss_score":7.7,"headline":"Horilla has Improper Input Sanitization Leading to XSS and Admin Account Takeover","id":"CVE-2025-59525","kev_date_added":null,"published":"2025-09-24"},{"cvss_score":7.5,"headline":"Horilla Unauthorized Access to Candidate Resume Files Due to Broken Access Control","id":"CVE-2025-48869","kev_date_added":null,"published":"2025-09-24"},{"cvss_score":7.2,"headline":"Horilla vulnerable to authenticated RCE via eval() in project_bulk_archive","id":"CVE-2025-48868","kev_date_added":null,"published":"2025-09-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-24","vendors":["horilla-opensource"]},"summary":"Attackers can upload malicious HTML files to trigger stored XSS, stealing admin session cookies and gaining unauthorized access to the HRMS.","url":"https://insights.sbomify.com/CVE-2025-59524/"}