Skip to main content
Network Thinking Solutions Logo

CVE-2026-66077

RabbitMQ: Stored XSS via TLS peer-certificate DN in management UI

All CVEs
CVE-2026-66077Published 9/23/2026

RabbitMQ: Stored XSS via TLS peer-certificate DN in management UI

Vendor advisory
CVSS7.3High

Overview

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 <%= connection.ssl_details.peer_cert_subject %> (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'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'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's Subject DN. When any administrator views that connection in the management UI, the script executes in the admin's browser session, allowing full account takeover (create users, export definitions, etc.). The management UI's CSP includes 'unsafe-inline', 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.

Published
9/23/2026
Last modified
10/19/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
rabbitmq server
broadcom
≥ 3.13.0, < 3.13.15

Verify advisory

Source
rabbitmq server
broadcom
≥ 4.0.0, < 4.0.20

Verify advisory

Source
rabbitmq server
broadcom
≥ 4.1.0, < 4.1.11

Verify advisory

Source
rabbitmq server
broadcom
≥ 4.2.0, < 4.2.6

Verify advisory

Source
rabbitmq-server
rabbitmq
>= 3.13.0, < 3.13.15

Verify advisory

Source
rabbitmq-server
rabbitmq
>= 4.0.0, < 4.0.20

Verify advisory

Source
rabbitmq-server
rabbitmq
>= 4.1.0, < 4.1.11

Verify advisory

Source
rabbitmq-server
rabbitmq
>= 4.2.0, < 4.2.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.