{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-59525 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-59525 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59525 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-59525 and fix it if it is affected.\n\nWhat it is: CVE-2025-59525 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: There is no known exploitation of CVE-2025-59525 in the wild and no public exploit code.\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-59525/ (Markdown: https://insights.sbomify.com/CVE-2025-59525/index.md)","id":"CVE-2025-59525","markdown":"https://insights.sbomify.com/CVE-2025-59525/index.md","name":"CVE-2025-59525","record":{"aliases":["GHSA-rp5m-vpqr-vpvp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HRMS web application","requires_auth":"none","summary":"Attackers can execute JavaScript via malicious SVG uploads in Horilla HRMS, potentially leading to admin account takeover.","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, improper sanitization across the application allows XSS via uploaded SVG (and via allowed \u003cembed\u003e), which can be chained to execute JavaScript whenever users view impacted content (e.g., announcements). This can result in admin account takeover. 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":"none_known"},"has_fix":false,"headline":"Horilla has Improper Input Sanitization Leading to XSS and Admin Account Takeover","id":"CVE-2025-59525","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Mailgen: HTML injection vulnerability in plaintext e-mails","id":"CVE-2025-59526"},"packages":[],"prev":{"headline":"Horilla Stored XSS Vulnerability via File Upload in Reimbursement Panel","id":"CVE-2025-59524"},"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 Stored XSS Vulnerability via File Upload in Reimbursement Panel","id":"CVE-2025-59524","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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["horilla-opensource"]},"summary":"Attackers can execute JavaScript via malicious SVG uploads in Horilla HRMS, potentially leading to admin account takeover.","url":"https://insights.sbomify.com/CVE-2025-59525/"}