CVE-2026-57213

RabbitMQ: Stored XSS federation management plugin via unsanitized consumer_tag rendering

Published Jul 10, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
RabbitMQ is a messaging and streaming broker. Prior to 3.13.14, 4.0.19, 4.1.10, and 4.2.5, the rabbitmq_federation_management plugin renders the consumer_tag field on the Federation Status page without HTML escaping, allowing a user who can configure a federation upstream or policy to execute JavaScript in the browser of a user viewing that page. This issue is fixed in versions 3.13.14, 4.0.19, 4.1.10, and 4.2.5.

Analysis

AI-generated

Technical impact

A cross‑site scripting flaw in the rabbitmq_federation_management plugin allows an authenticated user with permission to set up federation upstreams or policies to embed arbitrary HTML‑script tags into the consumer_tag field. When the Federation Status page renders this field without escaping, the browser executes the stored script in the context of any user who subsequently views the page, enabling client‑side code execution such as session hijacking or credential theft. The weakness corresponds to Input Validation failures (CWE‑79).

Affected Systems

RabbitMQ Server, all deployments using the rabbitmq_federation_management plugin prior to version 3.13.14, 4.0.19, 4.1.10, or 4.2.5, display the consumer_tag field on the Federation Status dashboard without escaping HTML, creating a stored cross‑site flaw. An attacker who can configure a federation upstream or policy can inject malicious JavaScript that executes in the browsers of users who later view the impacted page. Because the vulnerability allows client‑side code execution, it can be leveraged for session hijacking, credential theft, or other malicious actions in the context of a user viewing the UI, risk.

Risk and Exploitability

The CVSS score of 5.7 indicates a moderate impact. The EPSS score of < 1% indicates a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to configure federation upstreams or policies, thus it is limited. The script runs automatically when any user views the Federation Status page, making this a classic stored XSS that can affect any authenticated user who accesses the UI.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RabbitMQ Server to version 3.13.14, 4.0.19, 4.1.10, or 4.2.5 or later to apply the vendor patch
  • If an upgrade is not immediately possible, disable the rabbitmq_federation_management plugin or restrict access to the Federation Status page so that no user can view the rendered consumer_tag field
  • Restrict the creation and modification of federation upstreams and policies to trusted administrators only, an attacker can inject malicious content

Generated by OpenCVE AI on August 1, 2026 at 12:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server
Type Values Removed Values Added
Description RabbitMQ is a messaging and streaming broker. Prior to 3.13.14, 4.0.19, 4.1.10, and 4.2.5, the rabbitmq_federation_management plugin renders the consumer_tag field on the Federation Status page without HTML escaping, allowing a user who can configure a federation upstream or policy to execute JavaScript in the browser of a user viewing that page. This issue is fixed in versions 3.13.14, 4.0.19, 4.1.10, and 4.2.5.
Title RabbitMQ: Stored XSS federation management plugin via unsanitized consumer_tag rendering
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 14, 2026, 1:58 PM
Reserved
Jun 24, 2026, 2:21 AM
Status
Modified
Published
Jul 10, 2026, 9:16 PM
Modified
Oct 25, 2026, 3:10 PM
Severity
Moderate
Public date
Jul 10, 2026, 8:14 PM