CVE-2021-32718
JSON

3.1low

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI

Severity
3.1low CVSS:3.1 by GitHub_M
Exploit likelihood
1.43% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-RABBITMQ-2021-32718GHSA-c3hj-rg5h-2772

Description

RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.17, a new user being added via management UI could lead to the user's bane being rendered in a confirmation message without proper `<script>` tag sanitization, potentially allowing for JavaScript code execution in the context of the page. In order for this to occur, the user must be signed in and have elevated permissions (other user management). The vulnerability is patched in RabbitMQ 3.8.17. As a workaround, disable `rabbitmq_management` plugin and use CLI tools for management operations and Prometheus and Grafana for metrics and monitoring.

Affected

Product or packageVersionsReported by
rabbitmq rabbitmq-server< 3.8.17CVE List
vmware rabbitmqbefore 3.8.17NVD
rabbitmq (Bitnami)before 3.8.17Bitnami 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
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/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.17, a new user being added via management UI could lead to the user's bane being rendered in a confirmation message without proper `<script>` tag sanitization, potentially allowing for JavaScript code execution in the context of the page. In order for this to occur, the user must be signed in and have elevated permissions (other user management). The vulnerability is patched in RabbitMQ 3.8.17. As a workaround, disable `rabbitmq_management` plugin and use CLI tools for management operations and Prometheus and Grafana for metrics and monitoring.

NVD (es)

RabbitMQ es un broker de mensajería multiprotocolo. En rabbitmq-server versiones anteriores a 3.8.17, la adición de un nuevo usuario por medio de la Interfaz de administración podía conllevar que el bane del usuario se mostrara en un mensaje de confirmación sin el apropiado saneamiento o de la etiqueta "(script)", permitiendo potencialmente una ejecución de código JavaScript en el contexto de la página. Para que esto ocurra, el usuario debe haber iniciado sesión y tener permisos elevados (otra administración de usuarios). La vulnerabilidad está parcheada en RabbitMQ versión 3.8.17. Como solución alternativa, desactivar el plugin "rabbitmq_management" y usar herramientas CLI para las operaciones de administración y Prometheus y Grafana para las métricas y la monitorización

References

Sources

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