{"answers":{"affected":"2 open source packages ship an affected version, including org.jenkins-ci.plugins:cloudbees-jenkins-advisor. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-47885 in the wild and no public exploit code.","fix":"Upgrade org.jenkins-ci.plugins:cloudbees-jenkins-advisor to 374.376.v3a_41a_a_142efe or later.","what":"CVE-2025-47885 is a high-severity cross-site scripting vulnerability in Jenkins Health Advisor by CloudBees Plugin, published on 14 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-47885 and fix it if it is affected.\n\nWhat it is: CVE-2025-47885 is a high-severity cross-site scripting vulnerability in Jenkins Health Advisor by CloudBees Plugin, published on 14 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-47885 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.plugins:cloudbees-jenkins-advisor (Maven): affected all versions; fixed in 374.376.v3a_41a_a_142efe\n- org.jenkins-ci.plugins:cloudbees-jenkins-advisor (Maven): affected all versions; fixed in 374.376.v3a_41a_a_142efe\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-47885/ (Markdown: https://insights.sbomify.com/CVE-2025-47885/index.md)","id":"CVE-2025-47885","markdown":"https://insights.sbomify.com/CVE-2025-47885/index.md","name":"CVE-2025-47885","record":{"aliases":["GHSA-xrpq-4g9w-qrwj"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins plugin","requires_auth":"none","summary":"Stored XSS in Jenkins Health Advisor plugin allows attackers controlling server responses to execute scripts in user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"health_advisor_by_cloudbees","vendor":"jenkins"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Jenkins Health Advisor by CloudBees Plugin 374.v194b_d4f0c8c8 and earlier does not escape responses from the Jenkins Health Advisor server, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control Jenkins Health Advisor server responses.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Jenkins Health Advisor by CloudBees Plugin Vulnerable to Cross-Site Scripting","id":"CVE-2025-47885","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Jenkins Cadence vManager Plugin Vulnerable to Cross-Site Request Forgery","id":"CVE-2025-47886"},"packages":[{"ecosystem":"Maven","fixed":["374.376.v3a_41a_a_142efe"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:cloudbees-jenkins-advisor","purl":null,"source":"GHSA-xrpq-4g9w-qrwj"},{"ecosystem":"Maven","fixed":["374.376.v3a_41a_a_142efe"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:cloudbees-jenkins-advisor","purl":"pkg:maven/org.jenkins-ci.plugins/cloudbees-jenkins-advisor","source":"GHSA-xrpq-4g9w-qrwj"}],"prev":{"headline":"Jenkins OpenID Connect Provider Plugin Incorrectly Validates Crafted Build ID Tokens","id":"CVE-2025-47884"},"products":["Jenkins Health Advisor by CloudBees Plugin"],"published":"2025-05-14","related":[{"cvss_score":8.8,"headline":"CSRF vulnerability in Health Advisor by CloudBees Plugin","id":"CVE-2020-2093","kev_date_added":null,"published":"2020-01-15"},{"cvss_score":4.3,"headline":"Incorrect permission check in Health Advisor by CloudBees Plugin","id":"CVE-2020-2258","kev_date_added":null,"published":"2020-09-16"},{"cvss_score":4.3,"headline":"Missing permission checks in Health Advisor by CloudBees Plugin","id":"CVE-2020-2094","kev_date_added":null,"published":"2020-01-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"total"},"state":"PUBLISHED","updated":"2025-05-20","vendors":["Jenkins Project"]},"summary":"Stored XSS in Jenkins Health Advisor plugin allows attackers controlling server responses to execute scripts in user sessions.","url":"https://insights.sbomify.com/CVE-2025-47885/"}