Skip to content
Fencer Vulns
low 3.1

CVE-2021-32718 json

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

published 2021-06-28 5 y ago modified 2026-09-08 2 mo ago also BIT-rabbitmq-2021-32718 , EUVD-2021-19504 , GHSA-c3hj-rg5h-2772

cvss
3.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami rabbitmq 3.8.17
  • vmware rabbitmq 3.8.17
  • rabbitmq-server Debian 14, Debian 13, Debian 12 3.9.4-1

debian advisories DEBIAN-CVE-2021-32718

  • rabbitmq-server Ubuntu 20.04 LTS 3.8.3-0ubuntu0.2

ubuntu advisories UBUNTU-CVE-2021-32718

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rabbitmq-server openstack 16.2 3.8.16-3.el8ost
  • rabbitmq-server openstack 16.1 3.7.23-9.el8ost

red hat advisories RHSA-2022:8851RHSA-2022:8867

  • elixir115 SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 1.15.7-150300.7.5.1
  • erlang26 SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 26.2.1-150300.7.5.1
  • rabbitmq-server313 SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 3.13.1-150600.13.5.3
  • rabbitmq-server SLE Module for Server Applications 15 SP3 3.8.11-3.3.3
  • rabbitmq-server SLE Module for Server Applications 15 SP2 3.8.3-3.3.4

suse advisories SUSE-FU-2024:2078-1SUSE-SU-2021:3325-1SUSE-SU-2021:3254-1

  • rabbitmq-server openSUSE Leap 15.3 3.8.11-3.3.3
  • rabbitmq-server openSUSE Leap 15.2 3.8.3-lp152.2.3.1

opensuse advisories openSUSE-SU-2021:3325-1openSUSE-SU-2021:1334-1

  • rabbitmq Arch Linux 3.8.19-1

arch linux advisories AVG-2109

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-32718 updated cvss 5.4

rabbitmq-server: improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI

  • Red Hat OpenStack Platform 10 (Newton) rabbitmq-server Red Hat OpenStack Platform 13 (Queens) rabbitmq-server
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 16.1 rabbitmq-server 3.7.23-9.el8ost
    fixed: vendor fix RHSA-2022:8867
  • Red Hat OpenStack Platform 16.2 rabbitmq-server 3.8.16-3.el8ost
    fixed: vendor fix RHSA-2022:8851
  • Red Hat Ansible Tower 3 rabbitmq-server
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • seclists.org http://seclists.org/fulldisclosure/2021/Dec/3 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
OSV 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
bitnami rabbitmq
<3.8.17
3.8.17

Affected products

  • rabbitmq rabbitmq-server

Classification

Weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.