CVE Catalog

CVE-2025-30219

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.21%

12th percentile - higher than 12% of all known CVEs

Summary

RabbitMQ versions prior to 4.0.3 are vulnerable to an attack that can modify a virtual host name on disk and make it unrecoverable. The virtual host name is not escaped in the error message displayed in the management UI, which can lead to arbitrary JavaScript code execution in the user's browser (XSS).

Risk Assessment

An attacker could execute arbitrary JavaScript in the browser of an administrator using the RabbitMQ management UI, potentially leading to session hijacking or further attacks. However, this requires the ability to modify files on the server disk.

Recommendation

Update RabbitMQ to version 4.0.3 or later (or Tanzu RabbitMQ 4.0.3/3.13.8). Restrict access to the management UI and regularly verify the integrity of configuration files.

Other vulnerabilities in RabbitMQ

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS