CVEfocus › CVE database › CVE-2021-32718

CVE-2021-32718Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in…

CVSS 3.1 LowEPSS 1.4% (higher than 73% of CVEs)Published 2021-06-28Updated 2024-08-03Assigner: GitHub_M

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.

CWE-80

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04rabbitmq-serverNot affected
vulnerable_code_not_present
Ubuntu 22.04rabbitmq-serverNot affected
vulnerable_code_not_present
Ubuntu 20.04rabbitmq-serverFixed3.8.3-0ubuntu0.2UBUNTU-CVE-2021-32718
Ubuntu 16.04rabbitmq-serverFix pending
Ubuntu 14.04rabbitmq-serverFix pending
Debian 14rabbitmq-serverFixed3.9.4-1DEBIAN-CVE-2021-32718
Debian 13rabbitmq-serverFixed3.9.4-1DEBIAN-CVE-2021-32718
Debian 12rabbitmq-serverFixed3.9.4-1DEBIAN-CVE-2021-32718

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.