CVE-2026-67237

RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint

Published Sep 25, 2026 CVSS 4.0 · 7.5 High EPSS < 1% KEV · Not listed
Description
RabbitMQ is a messaging and streaming broker. From 4.2.0 until 4.2.8 and 4.3.2, set_token_auth/2 inserted a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping, allowing attacker-controlled token content to execute JavaScript in the management UI origin. The endpoint is exposed before authentication only when management.oauth_enabled is true, and exploitation through the cookie path additionally requires the attacker to plant an access_token cookie on the management host. This issue is fixed in versions 4.2.8 and 4.3.2.

Analysis

AI-generated

Technical impact

A reflected cross‑site scripting flaw exists in RabbitMQ’s OAuth bootstrap JavaScript endpoint. The endpoint injects a bearer token from the Authorization header or an access_token cookie directly into the JavaScript payload without proper escaping. When the JavaScript is delivered to the RabbitMQ management UI, the unescaped token content is executed in the context of the management UI origin, allowing an attacker to run arbitrary code as the victim in the browser.

Affected Systems

RabbitMQ Server versions 4.2.0 through 4.2.7 and 4.3.0 through 4.3.1, and related releases that enable the management plugin with management.oauth_enabled set to true, are affected. The issue is fixed in versions 4.2.8 and 4.3.2.

Risk and Exploitability

The CVSS score of 7.5 assigns this vulnerability a high severity rating. The endpoint is reachable without authentication when management.oauth_enabled is true, so an attacker can trigger the flawed endpoint with a crafted Authorization header or by planting an access_token cookie on the management host. Successful exploitation, however, requires a victim to load the JavaScript delivered by the endpoint in a browser; the attacker cannot directly inject code into the victim’s browsing context without the victim interacting with the management UI. The EPSS is not available and the issue is not listed in the CISA KEV catalog, suggesting no evidence of widespread exploitation at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RabbitMQ Server to version 4.2.8 or 4.3.2 or newer where the OAuth bootstrap JavaScript properly escapes token values.
  • If an upgrade cannot be performed immediately, disable the management.oauth_enabled option or restrict external network access to the management UI until the patch is applied.
  • Re‑configure the management plugin to require authentication for the OAuth bootstrap endpoint or remove the endpoint from the publicly exposed interface until the vulnerability is fixed.

Generated by OpenCVE AI on September 25, 2026 at 20:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8933-1 RabbitMQ Server vulnerabilities
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom rabbitmq Server
CPEs cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom rabbitmq Server
Metrics cvssV3_1

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

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

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description RabbitMQ is a messaging and streaming broker. From 4.2.0 until 4.2.8 and 4.3.2, set_token_auth/2 inserted a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping, allowing attacker-controlled token content to execute JavaScript in the management UI origin. The endpoint is exposed before authentication only when management.oauth_enabled is true, and exploitation through the cookie path additionally requires the attacker to plant an access_token cookie on the management host. This issue is fixed in versions 4.2.8 and 4.3.2.
Title RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/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
Sep 25, 2026, 5:53 PM
Reserved
Jul 28, 2026, 7:50 PM
Status
Analyzed
Published
Sep 25, 2026, 5:17 PM
Modified
Oct 20, 2026, 12:56 PM