RabbitMQ Server 3.13.19 before 3.13.21 HTML Injection via OAuth Login Warning
RabbitMQ Server 3.13.19 before 3.13.21, 4.1.15 before 4.1.17, 4.2.10 before 4.2.12, and 4.3.5 before 4.3.7 contains an HTML injection vulnerability in the rabbitmq_management plugin's OAuth login warning, because check_bad_response passes the server-supplied 401/403 error reason to the login_oauth.ejs template unescaped. An attacker with configure permission can declare a queue whose name contains an HTML <base> payload; when a victim lacking read permission on it requests messages, the injected element retargets the UI's periodic refresh requests to an attacker origin, leaking the victim's Authorization header.