Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-66077

published high CVSS 4.0 · 7.3

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

Published
23 Sep 2026, 20:03:42 UTC
Updated
29 Sep 2026, 02:14:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
rabbitmq — rabbitmq-server>= 3.13.0, < 3.13.15 · >= 4.0.0, < 4.0.20 · >= 4.1.0, < 4.1.11 · >= 4.2.0, < 4.2.6 Affected Not stated GitHub_M
Ubuntu bionic rabbitmq-server Advisory build 3.6.10-1ubuntu0.5+esm1 USN-8933-1
Ubuntu focal rabbitmq-server Advisory build 3.8.3-0ubuntu0.3+esm2 USN-8933-1
Ubuntu jammy rabbitmq-server Advisory build 3.9.27-0ubuntu0.6 USN-8933-1
Ubuntu noble rabbitmq-server Advisory build 3.12.1-1ubuntu1.7 USN-8933-1
Ubuntu resolute rabbitmq-server Advisory build 4.0.5-10ubuntu5.2 USN-8933-1
Ubuntu xenial rabbitmq-server Advisory build 3.5.7-1ubuntu0.16.04.4+esm3 USN-8933-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.3 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
rabbitmq rabbitmq-server >= 3.13.0, < 3.13.15 (affected)>= 4.0.0, < 4.0.20 (affected)>= 4.1.0, < 4.1.11 (affected)>= 4.2.0, < 4.2.6 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ddf9e515255d6c96ea0de5846b15365aa2fc374d2e33b0945ae8adcddd05132e
Ingested
30 Sep 2026, 15:28:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected