{"id":42084,"date":"2025-05-22T02:03:27","date_gmt":"2025-05-22T02:03:27","guid":{"rendered":""},"modified":"2025-08-31T06:32:20","modified_gmt":"2025-08-31T12:32:20","slug":"cve-2025-47885-stored-xss-vulnerability-in-jenkins-health-advisor-by-cloudbees-plugin","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-47885-stored-xss-vulnerability-in-jenkins-health-advisor-by-cloudbees-plugin\/","title":{"rendered":"<strong>CVE-2025-47885: Stored XSS Vulnerability in Jenkins Health Advisor by CloudBees Plugin<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The CVE-2025-47885 vulnerability is a severe security flaw affecting Jenkins Health Advisor by CloudBees Plugin 374.v194b_d4f0c8c8 and all earlier versions. The vulnerability arises from a failure to correctly escape responses from the Jenkins Health Advisor server, leading to a stored cross-site scripting (XSS) vulnerability. This flaw is particularly significant because attackers who can control Jenkins Health Advisor server responses can exploit it, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-34333-critical-vulnerability-in-ami-s-spx-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"48560\">potentially compromising the system<\/a> or causing data leakage.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-47885<br \/>\nSeverity: High &#8211; CVSS Score 8.8<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-27891-samsung-mobile-and-wearable-processors-vulnerability-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"49335\">System compromise and potential<\/a> data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3491605515\" 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><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47884-jenkins-openid-connect-provider-plugin-vulnerability-leading-to-unauthorized-access\/\"  data-wpil-monitor-id=\"49990\">Jenkins Health Advisor by CloudBees Plugin<\/a> | 374.v194b_d4f0c8c8 and earlier<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The vulnerability arises from a failure in the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4474-privilege-escalation-vulnerability-in-frontend-dashboard-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"48750\">Jenkins Health Advisor<\/a> by CloudBees Plugin to properly escape responses from the Jenkins Health Advisor server. As a result, an attacker who can control the responses from this server can inject malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47777-critical-stored-cross-site-scripting-vulnerability-in-5ire-ai-assistant\/\"  data-wpil-monitor-id=\"49246\">scripts that will be stored<\/a> and executed within the user&#8217;s browser when the compromised page is viewed. This stored <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4648-integrity-check-vulnerability-in-centreon-web-leading-to-potential-xss-injection\/\"  data-wpil-monitor-id=\"49863\">XSS attack can lead<\/a> to various harmful scenarios, such as session hijacking, identity theft, or defacement of the web application.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1924009672\" 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>Below is a conceptual example of how the vulnerability might be exploited. This could be a malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32105-buffer-overflow-vulnerability-in-sangoma-img2020-http-server-leading-to-remote-code-execution\/\"  data-wpil-monitor-id=\"76391\">HTTP response from the Jenkins Health Advisor server<\/a>:<\/p>\n<pre><code class=\"\" data-line=\"\">HTTP\/1.1 200 OK\nContent-Type: text\/html; charset=UTF-8\n&lt;script&gt;evil_script_that_steals_cookies_or_other_sensitive_data&lt;\/script&gt;<\/code><\/pre>\n<p>In the example above, the &#8220;evil_script_that_steals_cookies_or_other_sensitive_data&#8221; would be executed whenever a user views the compromised page, leading to potential <a href=\"https:\/\/www.ameeba.com\/blog\/the-stealthy-tactics-of-ransomware-gangs-unmasking-skitnet-malware-in-data-theft-and-remote-access\/\"  data-wpil-monitor-id=\"48559\">data theft<\/a> or other malicious actions.<br \/>\nIt&#8217;s worth noting that while the above example is simplified for clarity, in a real-world scenario, the attacker would likely use more sophisticated methods to hide their malicious payload and avoid detection.<\/p>\n<p><strong>How to Mitigate CVE-2025-47885<\/strong><\/p>\n<p>Users of the affected <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47889-jenkins-wso2-oauth-plugin-authentication-vulnerability\/\"  data-wpil-monitor-id=\"50450\">Jenkins Health Advisor by CloudBees Plugin<\/a> are strongly advised to apply the vendor patch as soon as possible. In the absence of a patch or as a temporary mitigation, users can use a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) to detect and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8059-critical-privilege-escalation-vulnerability-in-b-blocks-wordpress-plugin\/\"  data-wpil-monitor-id=\"76390\">block attempts to exploit this vulnerability<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The CVE-2025-47885 vulnerability is a severe security flaw affecting Jenkins Health Advisor by CloudBees Plugin 374.v194b_d4f0c8c8 and all earlier versions. The vulnerability arises from a failure to correctly escape responses from the Jenkins Health Advisor server, leading to a stored cross-site scripting (XSS) vulnerability. This flaw is particularly significant because attackers who can control [&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":[81],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-42084","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-xss"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/42084","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=42084"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/42084\/revisions"}],"predecessor-version":[{"id":68843,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/42084\/revisions\/68843"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=42084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=42084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=42084"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=42084"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=42084"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=42084"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=42084"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=42084"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=42084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}