Skip to content
OpenAdvisories
High · 7.5 CVE-2026-67237 EUVD-2026-87148

RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint

Published Sep 25, 2026 · Updated Sep 25, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
rabbitmq rabbitmq-server >= 4.2.0, < 4.2.8, >= 4.3.0, < 4.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rabbitmq-server 4.3.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS rabbitmq-server 4.0.5-10ubuntu5.2 USN-8933-1
Ubuntu 24.04 LTS rabbitmq-server 3.12.1-1ubuntu1.7 USN-8933-1
Ubuntu 22.04 LTS rabbitmq-server 3.9.27-0ubuntu0.6 USN-8933-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS rabbitmq-server 3.8.3-0ubuntu0.3+esm2 USN-8933-1
Ubuntu Pro 18.04 LTS rabbitmq-server 3.6.10-1ubuntu0.5+esm1 USN-8933-1
Ubuntu Pro 16.04 LTS rabbitmq-server 3.5.7-1ubuntu0.16.04.4+esm3 USN-8933-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 rabbitmq-server4.3 4.3.6-1.hum1 RHSA-2026:67552

Advisories 3

References