CVEfocus › CVE database › CVE-2025-30219

CVE-2025-30219RabbitMQ has XSS Vulnerability in an Error Message in Management UI

CVSS 6.1 MediumEPSS 0.3% (higher than 14% of CVEs)Published 2025-03-25Updated 2025-03-26Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04rabbitmq-serverFixed3.12.1-1ubuntu1.2UBUNTU-CVE-2025-30219
Ubuntu 22.04rabbitmq-serverFixed3.9.27-0ubuntu0.2UBUNTU-CVE-2025-30219
Ubuntu 20.04rabbitmq-serverFixed3.8.3-0ubuntu0.3UBUNTU-CVE-2025-30219
Debian 14rabbitmq-serverFixed4.0.5-1DEBIAN-CVE-2025-30219
Debian 13rabbitmq-serverFixed4.0.5-1DEBIAN-CVE-2025-30219
Debian 12rabbitmq-serverFix pendingDEBIAN-CVE-2025-30219

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.