Skip to content
Heist/ feed
Back to feed
High

RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-67237
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:07 UTC · Revision 1

Source evidence

RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint

core-osv · Original source

Published 25 Sept 2026, 16:05 UTC

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.

osv:CVE-2026-67237
Complete source record
{
  "id": "775042a0a4c39b6df3b977a9f40e31106f5c9402f1ffd37e36c8986d7c9673d4",
  "url": "https://osv.dev/vulnerability/CVE-2026-67237",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint",
    "summary": "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.",
    "evidence": "osv:CVE-2026-67237",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-67237",
      "aliases": [
        "BIT-rabbitmq-2026-67237",
        "CVE-2026-67237",
        "GHSA-2rf7-f6r6-8rwh"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rabbitmq/rabbitmq-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "95c501fbad76c66156346cf364d158d6e30aa4d9"
                },
                {
                  "fixed": "8b611c9f4bd2d1615ef855cdf1459da3196d4d3c"
                },
                {
                  "introduced": "1929eeadf9b2bac12c5434fb56884ef27370580e"
                },
                {
                  "fixed": "a509158b1b1e21c892a7f1dacbe0d158076dc7b8"
                },
                {
                  "fixed": "5cd6d841d84450324a4613501ed917d98828af23"
                },
                {
                  "fixed": "a8041d528c1a71af4cb75ade247ed082fe6b83fb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "fixed": "4.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0"
                      },
                      {
                        "fixed": "4.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5cd6d841d84450324a4613501ed917d98828af23"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a8041d528c1a71af4cb75ade247ed082fe6b83fb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8b611c9f4bd2d1615ef855cdf1459da3196d4d3c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.2.8"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a509158b1b1e21c892a7f1dacbe0d158076dc7b8"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.3.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.2.7",
            "v4.3.1",
            "v4.2.6",
            "v4.3.0",
            "v4.2.5",
            "v4.2.4",
            "v4.2.3",
            "v4.2.2",
            "v4.2.1",
            "v4.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67237.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.386486145Z",
      "provider": "osv",
      "references": [
        "https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.8",
        "https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67237.json",
        "https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-2rf7-f6r6-8rwh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-67237",
        "https://github.com/rabbitmq/rabbitmq-server/commit/5cd6d841d84450324a4613501ed917d98828af23",
        "https://github.com/rabbitmq/rabbitmq-server/commit/a8041d528c1a71af4cb75ade247ed082fe6b83fb"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67237.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-67237",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 486921,
  "published_at": "2026-09-25T16:05:16.417+00:00"
}