Pivotal RabbitMQ, versions prior to v3.7.18, and RabbitMQ for PCF, versions 1.15.x prior to 1.15.13, versions 1.16.x prior to 1.16.6, and versions 1.17.x prior to 1.17.3, contain two components, the virtual host limits page, and the federation management UI, which do not properly sanitize user input. A remote authenticated malicious user with administrative access could craft a cross site scripting attack that would gain access to virtual hosts and policy management information.
Created rabbitmq-server tracking bugs for this issue:
Affects: epel-all [bug 1767277]
Affects: fedora-all [bug 1767276]
Affects: openstack-rdo [bug 1767275]
Pivotal didn't link updates/fixes. However, these commits appear to match the issue:
Federation-management (https://www.rabbitmq.com/federation.html) https://github.com/rabbitmq/rabbitmq-federation-management/commit/7cfcb359cb5eed429aaf0b0e42e281a3d57ff19f
There is no mitigation for this issue, the flaw can only be resolved by applying updates.