CVEfocus › CVE database › CVE-2021-32719

CVE-2021-32719Improper 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.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.

CWE-80

What to do

Fixed builds are available from Alpine, 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

9Fixed
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-32719
Ubuntu 16.04rabbitmq-serverFix pending
Ubuntu 14.04rabbitmq-serverFix pending
Debian 14rabbitmq-serverFixed3.9.4-1DEBIAN-CVE-2021-32719
Debian 13rabbitmq-serverFixed3.9.4-1DEBIAN-CVE-2021-32719
Debian 12rabbitmq-serverFixed3.9.4-1DEBIAN-CVE-2021-32719
Alpine Linux 3.24rabbitmq-serverFixed3.9.1-r0ALPINE-CVE-2021-32719
Alpine Linux 3.23rabbitmq-serverFixed3.9.1-r0ALPINE-CVE-2021-32719
Alpine Linux 3.22rabbitmq-serverFixed3.9.1-r0ALPINE-CVE-2021-32719
Alpine Linux 3.21rabbitmq-serverFixed3.9.1-r0ALPINE-CVE-2021-32719
Alpine Linux 3.20rabbitmq-serverFixed3.9.1-r0ALPINE-CVE-2021-32719

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.