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

- 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.43%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-28T14:50:10.000Z
- Modified: 2026-09-08T08:48:24.926Z
- Also known as: BIT-RABBITMQ-2021-32718, GHSA-c3hj-rg5h-2772
- 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.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.

(As written by CVE List.)

## Affected

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

## 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 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/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

- <http://seclists.org/fulldisclosure/2021/Dec/3> (exploit, advisory, mailing-list, third-party-advisory)
- <https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-c3hj-rg5h-2772> (advisory, mitigation, third-party-advisory)
- <https://github.com/rabbitmq/rabbitmq-server/pull/3028> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32718> (web)

## Sources

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

---

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