{"id":28250,"date":"2026-09-24T08:31:37","date_gmt":"2026-09-24T00:31:37","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-66077"},"modified":"2026-09-24T08:31:37","modified_gmt":"2026-09-24T00:31:37","slug":"cve-2026-66077","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-66077","title":{"rendered":"CVE-2026-66077 &#8211; RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, a"},"content":{"rendered":"<p>RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6, The management UI uses EJS 1.0 in which  does NOT HTML-escape. connection.ejs:135 renders  (and peer_cert_issuer) directly into the page. The same pattern appears in streamConnection.ejs:102,106,110. The values come from rabbit_ssl:peer_cert_subject\/1 which formats the DN as a string without HTML escaping. The verifier corrected the original researcher&#8217;s claim: this is reachable only when the listener is configured with verify_peer (so the certificate must be signed by a CA in the broker&#8217;s trust store, not arbitrary self-signed); however, in deployments using mTLS for client authentication, any user who can request a certificate from the organisational CA controls the Subject CN. An attacker who can obtain a TLS client certificate signed by a CA the broker trusts (with verify_peer enabled) can embed JavaScript in the certificate&#8217;s Subject DN. When any administrator views that connection in the management UI, the script executes in the admin&#8217;s browser session, allowing full account takeover (create users, export definitions, etc.). The management UI&#8217;s CSP includes &#8216;unsafe-inline&#8217;, so inline script execution is not blocked. Preconditions include TLS listener configured with ssl_options.verify = verify_peer Attacker can obtain a CA-signed client certificate with attacker-chosen Subject (e.g. self-service corporate PKI, or rabbitmq_trust_store plugin in use) Administrator views the connection detail page. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6, The management UI uses EJS 1.0 in which  does NOT HTML-escape. connection.ejs:135 renders  (and peer<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28250","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}