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

Published Mar 25, 2025
·
Updated

Last updated 31 March 2025

Other sources

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.

NVD

Affected Software

3 affected componentsFixes available
debian/rabbitmq-server<=3.8.9-3+deb11u1, <=3.10.8-1.1+deb12u1
4.0.5-3
Pivotal RabbitMQ<4.0.3
Pivotal Tanzu RabbitMQ<4.0.3, <3.13.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/rabbitmq-server to a version that resolves this vulnerability.

    Fixed in 4.0.5-3
  2. Upgrade

    Upgrade RabbitMQ to a version that resolves this vulnerability.

    Fixed in 4.0.3
  3. Upgrade

    Upgrade Tanzu RabbitMQ to a version that resolves this vulnerability.

    Fixed in 4.0.3
  4. Upgrade

    Upgrade Tanzu RabbitMQ to a version that resolves this vulnerability.

    Fixed in 3.13.8

Event History

Mar 25, 2025
CVE Published
via MITRE·10:55 PM
Data Sourced
via MITRE·10:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness
Mar 31, 2025
Data Sourced
via Ubuntu·07:13 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·07:14 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-30219?

CVE-2025-30219 has a high severity level due to its potential for arbitrary JavaScript code execution.

2

How do I fix CVE-2025-30219?

To resolve CVE-2025-30219, upgrade your RabbitMQ or Tanzu RabbitMQ installation to version 4.0.3 or higher.

3

What types of software are affected by CVE-2025-30219?

CVE-2025-30219 affects RabbitMQ versions prior to 4.0.3 and Tanzu RabbitMQ versions prior to 3.13.8 and 4.0.3.

4

What attacks are possible due to CVE-2025-30219?

CVE-2025-30219 allows attackers to modify virtual host names on disk and potentially execute arbitrary JavaScript code.

5

Is CVE-2025-30219 a local or remote vulnerability?

CVE-2025-30219 is considered a remote vulnerability as it can be exploited over the network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203