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.
Published: 2026-07-10
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on July 28, 2026 at 08:10 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 28, 2026 at 08:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 00:15:00 +0000

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


Mon, 13 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 10 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server

Fri, 10 Jul 2026 20:45:00 +0000

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'}


Subscriptions

Rabbitmq Rabbitmq-server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-13T15:04:23.857Z

Reserved: 2026-06-24T02:21:33.810Z

Link: CVE-2026-57214

cve-icon Vulnrichment

Updated: 2026-07-13T15:04:13.535Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-10T20:18:15Z

Links: CVE-2026-57214 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-28T08:15:06Z

Weaknesses
  • CWE-79

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