{"id":"DHI-rjwq-mqco-lmk7-hdab","summary":"## Origin","details":"## Origin\n\nThis vulnerability was identified by Team RabbitMQ and/or other teams at Broadcom, not via a responsible disclosure from an external researcher.\n\n## Impact\n\nArbitrary JavaScript execution in the management UI's origin when the victim's browser fetches `bootstrap.js`. The script runs in the same JavaScript realm as the rest of the management UI, giving it full HTTP-API access via the administrator's existing session, including creating new administrator users, exfiltrating definitions, and modifying policies. This is the same blast radius as V-00011 and V-00044 (stored cert-DN XSS) and the canonical browser-side worst case for the management UI.\n\nThe endpoint runs unauthenticated by design, because it bootstraps the OAuth UI before login, so the cross-site scripting is reachable pre-auth in OAuth-enabled deployments. Any deployment with `management.oauth_enabled = true` is exposed when an attacker can place a cookie on the host.\n\n## Description\n\n`set_token_auth/2` emits JavaScript by string-concatenating an attacker-influenced bearer token directly between single quotes:\n\n```erlang\n%% Before (vulnerable)\n[\"set_token_auth('\", Token, \"');\"]\n```\n\nThe `Token` flows from one of two untrusted inputs without any escaping or validation: the `Authorization: Bearer \u003cToken\u003e` header parsed by `cowboy_req:parse_header(\u003c\u003c\"authorization\"\u003e\u003e, Req0)`, whose value is untouched after parsing, and the `access_token` cookie parsed by `cowboy_req:parse_cookies/1`, whose value is also untouched. Any token containing `'`, `\u003c/script\u003e`, or a newline breaks out of the JavaScript string literal and yields arbitrary JavaScript executed in the management-UI origin.\n\n## Preconditions\n\nExploitation requires an attacker who can plant an `access_token` cookie on the management host, for example via a sibling subdomain that can write a host-only cookie, or by tricking a victim into visiting a controlled page that performs a cookie-setting redirect through a permissive parent endpoint. The Authorization-header path is harder to weaponise from the browser, but is reachable from any non-browser client that mediates an attacker-controlled request.\n\n---\n\n## CVSS\nCVSS v4.0: `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` (7.5, High). Fixed in `4.2.8`, `4.3.2`.","modified":"2026-11-23T22:15:09.572838155Z","published":"2026-11-18T14:55:25Z","upstream":["CVE-2026-67237"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-rjwq-mqco-lmk7-hdab"},{"type":"ADVISORY","url":"https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-2rf7-f6r6-8rwh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67237"},{"type":"FIX","url":"https://github.com/rabbitmq/rabbitmq-server/commit/a8041d528c1a71af4cb75ade247ed082fe6b83fb"},{"type":"FIX","url":"https://github.com/rabbitmq/rabbitmq-server/commit/5cd6d841d84450324a4613501ed917d98828af23"},{"type":"WEB","url":"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.2"},{"type":"WEB","url":"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.8"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-67237"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-67237"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-67237"}],"affected":[{"package":{"name":"rabbitmq-4.3","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/rabbitmq-4.3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.5-0"}]}],"versions":["4.3.5-0","4.3.5-1","4.3.6-0","4.3.6-1","4.3.6-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-rjwq-mqco-lmk7-hdab.json"}},{"package":{"name":"rabbitmq-4.4-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/rabbitmq-4.4-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.1-0"}]}],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-rjwq-mqco-lmk7-hdab.json"}},{"package":{"name":"rabbitmq-4.4","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/rabbitmq-4.4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.0-0"}]}],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-rjwq-mqco-lmk7-hdab.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}