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

Published Jun 28, 2021
·
Updated

Last updated 9 December 2024

Other sources

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 rabbitmqmanagement plugin and use CLI tools for management operations and Prometheus and Grafana for metrics and monitoring.

Affected Software

2 affected componentsFixes available
debian/rabbitmq-server<=3.8.9-3+deb11u1
3.10.8-1.1+deb12u13.10.8-4
VMware RabbitMQ<3.8.17

Event History

Jun 28, 2021
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionSeverityWeakness
Dec 9, 2024
Data Sourced
via Launchpad·05:09 PM
Description
Dec 13, 2024
Data Sourced
via Ubuntu·05:09 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-32718?

CVE-2021-32718 is a vulnerability in RabbitMQ that allows for potential JavaScript code execution.

2

How does CVE-2021-32718 affect RabbitMQ?

CVE-2021-32718 affects RabbitMQ versions prior to 3.8.17.

3

What is the severity of CVE-2021-32718?

CVE-2021-32718 has a severity rating of medium, with a CVSS score of 5.4.

4

How can CVE-2021-32718 be exploited?

CVE-2021-32718 can be exploited by adding a new user via the management UI with malicious JavaScript code, which may lead to code execution.

5

How can I fix CVE-2021-32718?

To fix CVE-2021-32718, upgrade RabbitMQ to version 3.8.17 or later to address the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203