CVE-2025-30219 Details
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 will 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.
A vulnerability in RabbitMQ messaging and streaming broker versions prior to 4.0.3 allows for a complex attack that can modify a virtual host name on disk, making it unrecoverable, and lead to arbitrary JavaScript code execution in the browsers of management UI users. When a virtual host fails to start, recent versions display an error message in the management UI that includes the virtual host name. This name was not properly escaped before RabbitMQ 4.0.3, creating an opportunity for exploitation. An attacker could cause a virtual host to fail and simultaneously introduce an XSS payload into the name, or alter the name of an existing virtual host, triggering the execution of the injected JavaScript in the user's browser.
Users can upgrade to open source RabbitMQ 4.0.3 or Tanzu RabbitMQ 4.0.3 or 3.13.8. Note that future open source RabbitMQ 3.13.x releases will only be available to paying customers. All other users should upgrade to 4.0.x. As a temporary measure, the management plugin can be disabled and replaced with Prometheus and Grafana for monitoring.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 25, 2025CISA-ADP
Assessed Mar 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-g58g-82mw-9m3p | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| RabbitMQ | < 4.0.3 (semver) |
CPE
Remediation
| |
| VMware Tanzu RabbitMQ | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 25, 2025 | New CVE Received | [email protected] |
Volerion