# CVE-2021-32719: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ federation management plugin

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.42%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-28T15:15:11.000Z
- Modified: 2026-09-08T08:48:24.843Z
- Also known as: BIT-RABBITMQ-2021-32719, GHSA-5452-hxj4-773x
- Weaknesses: CWE-79, CWE-80
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- rabbitmq rabbitmq-server: < 3.8.18
- vmware rabbitmq: before 3.8.18
- rabbitmq (Bitnami): before 3.8.18

## Every score

- GitHub_M: 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`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://herolab.usd.de/security-advisories/usd-2021-0011/> (exploit, advisory, third-party-advisory)
- <https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-5452-hxj4-773x> (advisory, mitigation, third-party-advisory)
- <https://github.com/rabbitmq/rabbitmq-server/pull/3122> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32719> (web)

## Sources

- CVE List: [CVE-2021-32719](https://www.cve.org/CVERecord?id=CVE-2021-32719), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32719](https://nvd.nist.gov/vuln/detail/CVE-2021-32719), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-RABBITMQ-2021-32719](https://osv.dev/vulnerability/BIT-RABBITMQ-2021-32719), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-32719 · Whole record: https://cve.day/CVE-2021-32719.json · Rebuilt by cve.day 2026-11-25T22:58:02.356Z
