CVE-2021-32718
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
3.1
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI
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.
- Record
CVE-2021-32718- CVSS 3.1
- 3.1 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N - Weakness
- CWE-80
- Updated
- 2026-11-02
EUVDEUVD-2021-19504
3.1
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.
- Record
EUVD-2021-19504- CVSS 3.1
- 3.1 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-03
NVD
3.1
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.
- Record
CVE-2021-32718- CVSS 3.1
- 3.1 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N - 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 - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-80, CWE-79
- Updated
- 2026-11-02
OSV
5.4
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.
- Record
CVE-2021-32718- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-32718
5.4
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.
- Record
DEBIAN-CVE-2021-32718- 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 - Updated
- 2026-11-02
OSVRHSA-2022:8851
5.4
Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (rabbitmq-server) security update
- Record
RHSA-2022:8851- 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 - Updated
- 2026-11-02
Show 10 moreShow less
OSVRHSA-2022:8867
5.4
Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (rabbitmq-server) security update
- Record
RHSA-2022:8867- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-32718
5.4
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.
- Record
UBUNTU-CVE-2021-32718- 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 - CVSS 3.1
- 3.1 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVBIT-rabbitmq-2021-32718 No score
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI
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.
- Record
BIT-rabbitmq-2021-32718- Updated
- 2026-11-02
OSVMGASA-2021-0390 No score
Updated rabbitmq-server packages fix security vulnerabilities
Updated rabbitmq-server packages fix security vulnerabilities:
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled (CVE-2021-22116).
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) (CVE-2021-32718).
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 (CVE-2021-32719).
- Record
MGASA-2021-0390- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1334-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:1334-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:3325-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
- Record
openSUSE-SU-2021:3325-1- Updated
- 2026-11-02
OSVSUSE-FU-2024:2078-1 No score
Feature update for rabbitmq-server313, erlang26, elixir115
This update for rabbitmq-server313, erlang26, elixir115 fixes the following issues:
rabbitmq-server was implemented with a parallel versioned RPM package at version 3.13.1 (jsc#PED-8414):
-
Security issues fixed:
- CVE-2021-22116: Fixed improper input validation that may lead to Denial of Sercice (DoS) attacks (bsc#1186203)
- CVE-2021-32718, CVE-2021-32719: Fixed potential for JavaScript code execution in the management UI (bsc#1187818, bsc#1187819)
- CVE-2022-31008: Fixed encryption key used to encrypt the URI was seeded with a predictable secret (bsc#1205267)
- CVE-2023-46118: Fixed HTTP API vulnerability for denial of service (DoS) attacks with very large messages (bsc#1216582)
-
Other bugs fixed:
- Fixed RabbitMQ maintenance status issue (bsc#1199431)
- Provide user/group for RPM 4.19 (bsc#1219532)
- Fixed
rabbitmqctlcommand foradd_user(bsc#1222591) - Added hardening to systemd service(s) (bsc#1181400)
- Use /run instead of deprecated /var/run in tmpfiles.conf (bsc#1185075)
-
For the full list of upstream changes of this update between version 3.8.11 and 3.13.1 please consult:
erlang26:
- Provide RPM package as it's a dependency of rabbitmq-server313 (jsc#PED-8414)
elixir115:
- Provide RPM package as needed in some cases by rabbitmq-server313 (jsc#PED-8414)
- Record
SUSE-FU-2024:2078-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3254-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
- Record
SUSE-SU-2021:3254-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3325-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
- Record
SUSE-SU-2021:3325-1- Updated
- 2026-11-02
OSVUSN-7143-1 No score
rabbitmq-server vulnerabilities
Christian Rellmann discovered that RabbitMQ Server did not properly sanitize user input when adding a new user via the management UI. An attacker could possibly use this issue to perform cross site scripting and obtain sensitive information. (CVE-2021-32718)
Fahimhusain Raydurg discovered that RabbitMQ Server did not properly sanitize user input when using the federation management plugin. An attacker could possibly use this issue to perform cross site scripting and obtain sensitive information. (CVE-2021-32719)
- Record
USN-7143-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rabbitmqBitnami |
before 3.8.17 | 3.8.17 |
rabbitmq-serverDebian:12 |
before 3.9.4-1 | 3.9.4-1 |
rabbitmq-serverDebian:13 |
before 3.9.4-1 | 3.9.4-1 |
rabbitmq-serverDebian:14 |
before 3.9.4-1 | 3.9.4-1 |
rabbitmq-serverMageia:8 From an advisory covering 3 CVEs |
before 3.8.18-1.mga8 | 3.8.18-1.mga8 |
rabbitmq-serverRed Hat:openstack:16.2::el8 From an advisory covering 2 CVEs |
before 0:3.8.16-3.el8ost | 0:3.8.16-3.el8ost |
rabbitmq-serverRed Hat:openstack:16.1::el8 |
before 0:3.7.23-9.el8ost | 0:3.7.23-9.el8ost |
elixir115SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 5 CVEs |
before 1.15.7-150300.7.5.1 | 1.15.7-150300.7.5.1 |
erlang26SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 5 CVEs |
before 26.2.1-150300.7.5.1 | 26.2.1-150300.7.5.1 |
rabbitmq-server313SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 5 CVEs |
before 3.13.1-150600.13.5.3 | 3.13.1-150600.13.5.3 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
elixir115openSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 1.15.7-150300.7.5.1 | 1.15.7-150300.7.5.1 |
erlang26openSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 26.2.1-150300.7.5.1 | 26.2.1-150300.7.5.1 |
rabbitmq-server313openSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 3.13.1-150600.13.5.3 | 3.13.1-150600.13.5.3 |
rabbitmq-serverSUSE:Linux Enterprise Module for Server Applications 15 SP2 From an advisory covering 3 CVEs |
before 3.8.3-3.3.4 | 3.8.3-3.3.4 |
rabbitmq-serverSUSE:Linux Enterprise Module for Server Applications 15 SP3 From an advisory covering 3 CVEs |
before 3.8.11-3.3.3 | 3.8.11-3.3.3 |
rabbitmq-serverUbuntu:20.04:LTS |
before 3.8.3-0ubuntu0.2, plus listed versions 3.7.8-4ubuntu23.7.18-13.8.2-0ubuntu13.8.2-0ubuntu1.13.8.2-0ubuntu1.2 Show 4 moreShow less3.8.2-0ubuntu1.33.8.2-0ubuntu1.43.8.2-0ubuntu1.53.8.3-0ubuntu0.1 |
3.8.3-0ubuntu0.2 |
rabbitmq-serverUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 3.8.3-0ubuntu0.2, plus listed versions 3.7.8-4ubuntu23.7.18-13.8.2-0ubuntu13.8.2-0ubuntu1.13.8.2-0ubuntu1.2 Show 4 moreShow less3.8.2-0ubuntu1.33.8.2-0ubuntu1.43.8.2-0ubuntu1.53.8.3-0ubuntu0.1 |
3.8.3-0ubuntu0.2 |
rabbitmq-serveropenSUSE:Leap 15.2 From an advisory covering 3 CVEs |
before 3.8.3-lp152.2.3.1 | 3.8.3-lp152.2.3.1 |
rabbitmq-serveropenSUSE:Leap 15.3 From an advisory covering 3 CVEs |
before 3.8.11-3.3.3 | 3.8.11-3.3.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-32718 is a low vulnerability (CVSS 3.1) in Rabbitmq Rabbitmq-server, published June 28, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. Fixed in rabbitmq 3.8.17.
References
github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-c3hj-rg5h-2772
github.com/rabbitmq/rabbitmq-server/pull/3028
seclists.org/fulldisclosure/2021/Dec/3
nvd.nist.gov/vuln/detail/CVE-2021-32718
security-tracker.debian.org/tracker/CVE-2021-32718
advisories.mageia.org/MGASA-2021-0390.html
Show 36 moreShow less
bugs.mageia.org/show_bug.cgi?id=29174
access.redhat.com/errata/RHSA-2022:8851
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1977002
bugzilla.redhat.com/show_bug.cgi?id=1977008
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8851.json
access.redhat.com/security/cve/CVE-2021-32718
cve.org/CVERecord?id=CVE-2021-32718
access.redhat.com/security/cve/CVE-2021-32719
cve.org/CVERecord?id=CVE-2021-32719
nvd.nist.gov/vuln/detail/CVE-2021-32719
access.redhat.com/errata/RHSA-2022:8867
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8867.json
suse.com/support/update/announcement/-2024-2078/suse-fu-20242078-1
bugzilla.suse.com/1181400
bugzilla.suse.com/1185075
bugzilla.suse.com/1186203
bugzilla.suse.com/1187818
bugzilla.suse.com/1187819
bugzilla.suse.com/1199431
bugzilla.suse.com/1205267
bugzilla.suse.com/1216582
bugzilla.suse.com/1219532
bugzilla.suse.com/1222591
suse.com/security/cve/CVE-2021-22116
suse.com/security/cve/CVE-2021-32718
suse.com/security/cve/CVE-2021-32719
suse.com/security/cve/CVE-2022-31008
suse.com/security/cve/CVE-2023-46118
suse.com/support/update/announcement/2021/suse-su-20213254-1
suse.com/support/update/announcement/2021/suse-su-20213325-1
ubuntu.com/security/CVE-2021-32718
ubuntu.com/security/notices/USN-7143-1
ubuntu.com/security/CVE-2021-32719
lists.opensuse.org/archives/list/[email protected]/thread/FWIIK75CV5Y6TWUXN67IYXFNHIHRZSXN
lists.opensuse.org/archives/list/[email protected]/thread/7NL4I6R5WB6N3LAJGL2UC3TXXGKBNRLE