Skip to content

XSS Vulnerability in an Error Message in Management UI

Moderate
michaelklishin published GHSA-g58g-82mw-9m3p Mar 25, 2025

Package

Open source RabbitMQ (RabbitMQ)

Affected versions

< 4.0.3

Patched versions

4.0.3
Tanzu RabbitMQ (RabbitMQ)
< 3.13.8
3.13.8, 4.0.3

Description

Impact Summary

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.

Detailed CVSS 3.1 score: 5.5 overall.

This attack was responsibly disclosed by a team of security researchers at Best of the Best 🇰🇷

Details

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

  1. Makes a virtual host fail to start, and
  2. 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).

Patches

Open source RabbitMQ 4.0.3.
Tanzu RabbitMQ 4.0.3 and 3.13.8.

Note that any future open source RabbitMQ 3.13.x releases will only be available to paying customers. All other users should upgrade to 4.0.x.

Workarounds

Disable the management plugin and use Prometheus and Grafana for monitoring

Credits

This vulnerability was researched and responsibly disclosed by a team at Best of the Best 🇰🇷

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:L

CVE ID

CVE-2025-30219

Weaknesses

No CWEs

Credits