CVE-2026-67421

RabbitMQ: Stored HTML Injection in RabbitMQ Management OAuth Error Handling

State
Published
Severity
4.5 Medium
Published
Sep 25, 2026
Updated
Sep 25, 2026
Reserved
Jul 29, 2026

Read the record on cve.org

Description

RabbitMQ is a messaging and streaming broker. From 3.13.0 until 3.13.19, 4.0.24, 4.1.15, 4.2.10, and 4.3.5, RabbitMQ Management rendered an AMQP authorization-error reason containing an attacker-controlled queue name as HTML when the OAuth management UI was enabled. Exploitation requires an attacker with queue configure permission, a management administrator who can see but cannot read that queue, and the administrator clicking Get Message(s). A queue name containing a base element can then retarget the automatic relative refresh because the Content Security Policy omits base-uri and connect-src, and an attacker endpoint that permits the management origin through CORS can receive the victim's Authorization header. This issue is fixed in versions 3.13.19, 4.0.24, 4.1.15, 4.2.10, and 4.3.5.

Scores

CVSSScoreVectorSource
4.04.5 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:H/SI:L/SA:NGitHub_M

Weaknesses

Affected Products

ProductVersions
rabbitmq-serverrabbitmq
  • >= 3.13.0, < 3.13.19Affected
  • >= 4.0.0, < 4.0.24Affected
  • >= 4.1.0, < 4.1.15Affected
  • >= 4.2.0, < 4.2.10Affected
  • >= 4.3.0, < 4.3.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.