cve.bz

CVE-2021-32718 vmware rabbitmq: Cross-site Scripting

5.4 mediumExploit referenceEPSS 1.4%Fix available

Medium (5.4) in vmware rabbitmq. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32718 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32718?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32718?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32718 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:rabbitmqbefore 3.8.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rabbitmq-server3.9.4-1DEBIAN-CVE-2021-32718
Ubuntu20.04:LTSrabbitmq-server3.8.3-0ubuntu0.2UBUNTU-CVE-2021-32718 USN-7143-1
Red Hatopenstack:16.1::el8rabbitmq-server0:3.7.23-9.el8ostRHSA-2022:8867
Red Hatopenstack:16.2::el8rabbitmq-server0:3.8.16-3.el8ostRHSA-2022:8851
SUSELinux Enterprise Module for Server Applications 15 SP2rabbitmq-server3.8.3-3.3.4SUSE-SU-2021:3254-1
SUSELinux Enterprise Module for Server Applications 15 SP3rabbitmq-server3.8.11-3.3.3SUSE-SU-2021:3325-1
SUSELinux Enterprise Module for Server Applications 15 SP6elixir1151.15.7-150300.7.5.1SUSE-FU-2024:2078-1
SUSELinux Enterprise Module for Server Applications 15 SP6erlang2626.2.1-150300.7.5.1SUSE-FU-2024:2078-1
SUSELinux Enterprise Module for Server Applications 15 SP6rabbitmq-server3133.13.1-150600.13.5.3SUSE-FU-2024:2078-1
openSUSELeap 15.2rabbitmq-server3.8.3-lp152.2.3.1openSUSE-SU-2021:1334-1
openSUSELeap 15.3rabbitmq-server3.8.11-3.3.3openSUSE-SU-2021:3325-1
openSUSELeap 15.6elixir1151.15.7-150300.7.5.1SUSE-FU-2024:2078-1
openSUSELeap 15.6erlang2626.2.1-150300.7.5.1SUSE-FU-2024:2078-1
openSUSELeap 15.6rabbitmq-server3133.13.1-150600.13.5.3SUSE-FU-2024:2078-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat OpenStack Platform ships a vulnerable version of RabbitMQ but it is not exposed outside the management network. As this network is tightly-regulated to OpenStack administrators, the risk for abuse is significantly reduced.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 16.1rabbitmq-server-0:3.7.23-9.el8ostFixed 2022-12-07RHSA-2022:8867
Red Hat OpenStack Platform 16.2rabbitmq-server-0:3.8.16-3.el8ostFixed 2022-12-07RHSA-2022:8851
Red Hat Ansible Tower 3rabbitmq-serverNot affected
Red Hat OpenStack Platform 10 (Newton)rabbitmq-serverOut of support scope
Red Hat OpenStack Platform 13 (Queens)rabbitmq-serverOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32718.

Attack patterns (CAPEC)

  • CAPEC-18 XSS Targeting Non-Script Elements Likelihood: High · Severity: Very High
  • CAPEC-32 XSS Through HTTP Query Strings Likelihood: High · Severity: High
  • CAPEC-86 XSS Through HTTP Headers Likelihood: High · Severity: Very High
  • CAPEC-193 PHP Remote File Inclusion Likelihood: High · Severity: High
  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON