{"answers":{"affected":"1 open source package ship an affected version, including rabbitmq.","exploited":"There is no known exploitation of CVE-2025-30219 in the wild and no public exploit code.","fix":"Upgrade rabbitmq to 4.0.3 or later.","what":"CVE-2025-30219 is a medium-severity cross-site scripting vulnerability in rabbitmq-server, published on 25 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-30219 and fix it if it is affected.\n\nWhat it is: CVE-2025-30219 is a medium-severity cross-site scripting vulnerability in rabbitmq-server, published on 25 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-30219 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rabbitmq (Bitnami): affected all versions; fixed in 4.0.3\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-30219/ (Markdown: https://insights.sbomify.com/CVE-2025-30219/index.md)","id":"CVE-2025-30219","markdown":"https://insights.sbomify.com/CVE-2025-30219/index.md","name":"CVE-2025-30219","record":{"aliases":["AZL-59276","AZL-59281","BIT-rabbitmq-2025-30219","DEBIAN-CVE-2025-30219","GHSA-g58g-82mw-9m3p","MINI-7vxj-r4gp-78v8","MINI-wvf2-96p7-75rg","SUSE-SU-2025:01466-1","SUSE-SU-2025:01548-1","SUSE-SU-2025:1466-1","SUSE-SU-2025:1548-1","SUSE-SU-2026:20126-1","UBUNTU-CVE-2025-30219","USN-7399-1","openSUSE-SU-2025:15291-1","openSUSE-SU-2026:20082-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"RabbitMQ Management UI","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary JavaScript in the RabbitMQ Management UI by manipulating virtual host names, potentially compromising user sessions.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"RabbitMQ is a messaging and streaming broker. Versions prior to 4.0.3 are vulnerable to a sophisticated attack that could modify virtual host name on disk and then make it unrecoverable (with other on disk file modifications) can lead to arbitrary JavaScript code execution in the browsers of management UI users. When a virtual host on a RabbitMQ node fails to start, recent versions\nwill display an error message (a notification) in the management UI. The error message includes virtual host name, which was not escaped prior to open source RabbitMQ 4.0.3 and Tanzu RabbitMQ 4.0.3, 3.13.8. An attack that both makes a virtual host fail to start and creates a new virtual host name with an XSS code snippet or changes the name of an existing virtual host on disk could trigger arbitrary JavaScript code execution in the management UI (the user's browser). Open source RabbitMQ `4.0.3` and Tanzu RabbitMQ `4.0.3` and `3.13.8` patch the issue.","ecosystems":["Bitnami","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"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":"RabbitMQ has XSS Vulnerability in an Error Message in Management UI","id":"CVE-2025-30219","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":11,"n_references":1,"next":{"headline":"GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling","id":"CVE-2025-30220"},"packages":[{"ecosystem":"Bitnami","fixed":["4.0.3"],"introduced":["0"],"last_affected":[],"package":"rabbitmq","purl":"pkg:bitnami/rabbitmq","source":"BIT-rabbitmq-2025-30219"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP6","fixed":["3.8.11-150300.3.19.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/suse/rabbitmq-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6","source":"SUSE-SU-2025:1466-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP6","fixed":["3.13.1-150600.13.8.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server313","purl":"pkg:rpm/suse/rabbitmq-server313\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6","source":"SUSE-SU-2025:1548-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["3.8.11-150300.3.19.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/suse/rabbitmq-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2025:01466-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["3.13.1-150600.13.8.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server313","purl":"pkg:rpm/suse/rabbitmq-server313\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2025:01548-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["4.1.5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/suse/rabbitmq-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20126-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["4.1.5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/suse/rabbitmq-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20126-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.8.11-150300.3.19.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/opensuse/rabbitmq-server\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:1466-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.13.1-150600.13.8.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server313","purl":"pkg:rpm/opensuse/rabbitmq-server313\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:1548-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["4.1.5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/opensuse/rabbitmq-server\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20082-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.13.7-4.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/opensuse/rabbitmq-server\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15291-1"}],"prev":{"headline":"Next.js may leak x-middleware-subrequest-id to external hosts","id":"CVE-2025-30218"},"products":["rabbitmq-server"],"published":"2025-03-25","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-03-26","vendors":["rabbitmq"]},"summary":"Attackers can execute arbitrary JavaScript in the RabbitMQ Management UI by manipulating virtual host names, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2025-30219/"}