CVE-2026-57214

RabbitMQ: Stored XSS in RabbitMQ management UI

Published Jul 10, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
RabbitMQ is a messaging and streaming broker. Prior to 4.2.5, the RabbitMQ management UI renders the x-internal-purpose queue or exchange argument into an HTML title attribute without proper escaping on the Queues and Exchanges pages, allowing a user with permission to declare a queue or exchange to execute JavaScript in another user's browser. This issue is fixed in version 4.2.5.

Analysis

AI-generated

Technical impact

A stored XSS flaw exists in RabbitMQ’s web‑based management interface. The server renders unescaped values supplied in the x‑internal‑purpose attribute of queues or exchanges as the HTML title attribute on the Queues and Exchanges pages. A user who can declare a queue or exchange with a crafted argument can inject JavaScript that will execute in the browser of any other userside injection (CWE‑79) that can compromise user sessions, exfiltrate credentials, or otherwise subvert the UI for an attacker. The vulnerability does not grant direct server‑side code execution, but it enables arbitrary script execution in a victim’s context.

Affected Systems

RabbitMQ server versions earlier than 4.2.5 are susceptible. The issue is fixed in 4.2.5 and later releases of the rabbitmq-server product.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate severity, and the EPSS score is less than 1%, suggesting a very low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. An attacker needs authorization to declare a queue or exchange, so the attack vector is likely internal or lateral within an existing RabbitMQ deployment rather than external. Once the queue or exchange is created, any user with access to the management UI can be targeted by the injected script. The impact is limited to actions in a web browser, but the consequences could include session hijacking or data theft for privileged users of the management console.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RabbitMQ to version 4.2.5 or later, where the issue is resolved.
  • Validate or sanitize the x‑internal‑purpose value before it is stored or rendered, ensuring that no unescaped HTML or JavaScript can be injected into the UI.
  • Restrict the permission to create queues or exchanges to trusted administrators only.
  • Audit existing queues and exchanges for suspicious x‑internal‑purpose values, cleanse or remove them, and verify that any remaining values are properly escaped.

Generated by OpenCVE AI on August 1, 2026 at 12:10 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.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Important

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 4.2.5, the RabbitMQ management UI renders the x-internal-purpose queue or exchange argument into an HTML title attribute without proper escaping on the Queues and Exchanges pages, allowing a user with permission to declare a queue or exchange to execute JavaScript in another user's browser. This issue is fixed in version 4.2.5.
Title RabbitMQ: Stored XSS in RabbitMQ management UI
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/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 13, 2026, 3:04 PM
Reserved
Jun 24, 2026, 2:21 AM
Status
Analyzed
Published
Jul 10, 2026, 9:16 PM
Modified
Oct 25, 2026, 3:10 PM
Severity
Important
Public date
Jul 10, 2026, 8:18 PM