CVE-2026-67239: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rabbitmq rabbitmq-server
RabbitMQ is a messaging and streaming broker. From 3.13.0 until 3.13.18 and 4.0.23 and 4.1.14 and 4.2.9 and 4.3.3, Stored XSS via TLS peer-certificate DN in stream-management UI (sibling of V-11). lines 102/106/110 render peercertsubject / peercertissuer with raw <%= %> and no fmtstring(). RFC4514 backslash-escaping of </> is HTML-inert and bypassable (<img ... //>). Requires non-default config: a stream TLS listener with verifypeer and an attacker-obtainable trusted cert with a malicious Same as the connection.ejs finding, against operators viewing the stream-connection detail rabbitmqstream + rabbitmqstreammanagement enabled with a TLS listener using verifypeer Attacker can obtain a certificate signed by a CA the listener trusts, with attacker-chosen DN An operator views the. This issue is fixed in versions 3.13.18 and 4.0.23 and 4.1.14 and 4.2.9 and 4.3.3.
AI Analysis
Technical Summary
RabbitMQ server versions from 3.13.0 up to but not including 3.13.18, 4.0.0 up to 4.0.23, 4.1.0 up to 4.1.14, 4.2.0 up to 4.2.9, and 4.3.0 up to 4.3.3 contain a stored cross-site scripting vulnerability (CWE-79) in the stream-management UI. The vulnerability occurs because the TLS peer-certificate DN fields (peercertsubject and peercertissuer) are rendered using raw template tags without proper HTML escaping, allowing injection of malicious HTML/JavaScript. The RFC4514 backslash-escaping used in the DN is insufficient to prevent HTML injection. Exploitation requires a non-default configuration: a stream TLS listener with peer verification enabled and an attacker-controlled certificate signed by a trusted CA. When an operator views the stream-connection details, the malicious script executes in their browser context. The vulnerability is fixed in versions 3.13.18, 4.0.23, 4.1.14, 4.2.9, and 4.3.3.
Potential Impact
Successful exploitation allows an attacker who can present a malicious TLS certificate trusted by the RabbitMQ server to execute arbitrary script code in the context of an operator's browser viewing the stream-management UI. This can lead to session hijacking, credential theft, or other actions permitted by the operator's privileges. The attack requires the attacker to have a certificate signed by a CA trusted by the server and the server to be configured with a TLS listener using peer verification, which is a non-default configuration. There is no indication of known exploits in the wild.
Mitigation Recommendations
Upgrade RabbitMQ server to one of the fixed versions: 3.13.18, 4.0.23, 4.1.14, 4.2.9, or 4.3.3. This vulnerability is addressed in these releases by properly escaping TLS peer-certificate DN fields in the stream-management UI. If upgrading is not immediately possible, consider disabling the stream TLS listener with peer verification or restrict access to the stream-management UI to trusted operators only. Patch status is confirmed fixed in the stated versions.
CVE-2026-67239: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rabbitmq rabbitmq-server
Description
RabbitMQ is a messaging and streaming broker. From 3.13.0 until 3.13.18 and 4.0.23 and 4.1.14 and 4.2.9 and 4.3.3, Stored XSS via TLS peer-certificate DN in stream-management UI (sibling of V-11). lines 102/106/110 render peercertsubject / peercertissuer with raw <%= %> and no fmtstring(). RFC4514 backslash-escaping of </> is HTML-inert and bypassable (<img ... //>). Requires non-default config: a stream TLS listener with verifypeer and an attacker-obtainable trusted cert with a malicious Same as the connection.ejs finding, against operators viewing the stream-connection detail rabbitmqstream + rabbitmqstreammanagement enabled with a TLS listener using verifypeer Attacker can obtain a certificate signed by a CA the listener trusts, with attacker-chosen DN An operator views the. This issue is fixed in versions 3.13.18 and 4.0.23 and 4.1.14 and 4.2.9 and 4.3.3.
CVSS v4.0
Score 7.6high
Affected software
rabbitmq
rabbitmq-server
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
RabbitMQ server versions from 3.13.0 up to but not including 3.13.18, 4.0.0 up to 4.0.23, 4.1.0 up to 4.1.14, 4.2.0 up to 4.2.9, and 4.3.0 up to 4.3.3 contain a stored cross-site scripting vulnerability (CWE-79) in the stream-management UI. The vulnerability occurs because the TLS peer-certificate DN fields (peercertsubject and peercertissuer) are rendered using raw template tags without proper HTML escaping, allowing injection of malicious HTML/JavaScript. The RFC4514 backslash-escaping used in the DN is insufficient to prevent HTML injection. Exploitation requires a non-default configuration: a stream TLS listener with peer verification enabled and an attacker-controlled certificate signed by a trusted CA. When an operator views the stream-connection details, the malicious script executes in their browser context. The vulnerability is fixed in versions 3.13.18, 4.0.23, 4.1.14, 4.2.9, and 4.3.3.
Potential Impact
Successful exploitation allows an attacker who can present a malicious TLS certificate trusted by the RabbitMQ server to execute arbitrary script code in the context of an operator's browser viewing the stream-management UI. This can lead to session hijacking, credential theft, or other actions permitted by the operator's privileges. The attack requires the attacker to have a certificate signed by a CA trusted by the server and the server to be configured with a TLS listener using peer verification, which is a non-default configuration. There is no indication of known exploits in the wild.
Mitigation Recommendations
Upgrade RabbitMQ server to one of the fixed versions: 3.13.18, 4.0.23, 4.1.14, 4.2.9, or 4.3.3. This vulnerability is addressed in these releases by properly escaping TLS peer-certificate DN fields in the stream-management UI. If upgrading is not immediately possible, consider disabling the stream TLS listener with peer verification or restrict access to the stream-management UI to trusted operators only. Patch status is confirmed fixed in the stated versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-28T19:50:39.438Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab6a25cf7a7c54106018e33
Added to database: 09/25/2026, 16:33:32 UTC
Last enriched: 09/25/2026, 16:47:56 UTC
Last updated: 09/26/2026, 02:44:51 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.