CVE-2021-32719
JSON

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 packageVersionsReported by
rabbitmq rabbitmq-server< 3.8.18CVE List
vmware rabbitmqbefore 3.8.18NVD
rabbitmq (Bitnami)before 3.8.18Bitnami Vulnerability Database

All scores

GitHub_M3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium 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

Sources

SourceRecordLicence
CVE ListCVE-2021-32719 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-32719 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-RABBITMQ-2021-32719 changed 2026-09-08Apache-2.0