3.1low
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ federation management plugin
- Severity
- 3.1low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.42% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-RABBITMQ-2021-32719GHSA-5452-hxj4-773x
Description
RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.18, when a federation link was displayed in the RabbitMQ management UI via the `rabbitmq_federation_management` plugin, its consumer tag was rendered without proper <script> tag sanitization. This potentially allows for JavaScript code execution in the context of the page. The user must be signed in and have elevated permissions (manage federation upstreams and policies) for this to occur. The vulnerability is patched in RabbitMQ 3.8.18. As a workaround, disable the `rabbitmq_federation_management` plugin and use [CLI tools](https://www.rabbitmq.com/cli.html) instead.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rabbitmq rabbitmq-server | < 3.8.18 | CVE List |
| vmware rabbitmq | before 3.8.18 | NVD |
| rabbitmq (Bitnami) | before 3.8.18 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.18, when a federation link was displayed in the RabbitMQ management UI via the `rabbitmq_federation_management` plugin, its consumer tag was rendered without proper <script> tag sanitization. This potentially allows for JavaScript code execution in the context of the page. The user must be signed in and have elevated permissions (manage federation upstreams and policies) for this to occur. The vulnerability is patched in RabbitMQ 3.8.18. As a workaround, disable the `rabbitmq_federation_management` plugin and use [CLI tools](https://www.rabbitmq.com/cli.html) instead.
NVD (es)
RabbitMQ es un broker de mensajería multiprotocolo. En rabbitmq-server versiones anteriores a 3.8.18, cuando un enlace de federación es mostrado en la Interfaz de Usuario de administración de RabbitMQ por medio del plugin "rabbitmq_federation_management", su etiqueta consumer se mostraba sin el saneamiento apropiado de la etiqueta (script). Esto permite potencialmente una ejecución de código JavaScript en el contexto de la página. El usuario debe haber iniciado sesión y tener permisos elevados (gestionar flujos ascendentes y políticas de federación) para que esto ocurra. La vulnerabilidad está parcheada en RabbitMQ versión 3.8.18. Como solución alternativa, desactivar el plugin "rabbitmq_federation_management" y usar [CLI tools](https://www.rabbitmq.com/cli.html) en su lugar
References
| https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-5452-hxj4-773x | advisory, mitigation, third-party-advisory | |
| https://github.com/rabbitmq/rabbitmq-server/pull/3122 | advisory, patch, third-party-advisory | |
| https://herolab.usd.de/security-advisories/usd-2021-0011/ | advisory, exploit, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32719 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32719 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32719 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-RABBITMQ-2021-32719 changed 2026-09-08 | Apache-2.0 |