CVE-2026-67237: 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 4.2.0 until 4.2.8 and 4.3.2, set_token_auth/2 inserted a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping, allowing attacker-controlled token content to execute JavaScript in the management UI origin. The endpoint is exposed before authentication only when management.oauth_enabled is true, and exploitation through the cookie path additionally requires the attacker to plant an access_token cookie on the management host. This issue is fixed in versions 4.2.8 and 4.3.2.
AI Analysis
Technical Summary
RabbitMQ server versions 4.2.0 to 4.2.7 and 4.3.0 to 4.3.1 contain a cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the set_token_auth/2 function inserts a bearer token from the Authorization header or access_token cookie directly into OAuth bootstrap JavaScript without escaping, enabling execution of attacker-controlled JavaScript in the management UI's origin. This endpoint is accessible before authentication only if management.oauth_enabled is true. Exploitation via the cookie path requires the attacker to plant an access_token cookie on the management host. The vulnerability is resolved in versions 4.2.8 and 4.3.2.
Potential Impact
An attacker able to supply a malicious bearer token or plant an access_token cookie on the management host can execute arbitrary JavaScript in the context of the RabbitMQ management UI. This could lead to actions such as session hijacking or other client-side attacks within the management interface. The vulnerability requires the management.oauth_enabled setting to be true and either control over the Authorization header or the ability to plant a cookie on the management host.
Mitigation Recommendations
This vulnerability is fixed in rabbitmq-server versions 4.2.8 and 4.3.2. Users should upgrade to at least these versions to remediate the issue. No other mitigation or temporary workaround is indicated. If upgrading is not immediately possible, ensure that management.oauth_enabled is disabled to prevent exposure of the vulnerable endpoint.
CVE-2026-67237: 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 4.2.0 until 4.2.8 and 4.3.2, set_token_auth/2 inserted a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping, allowing attacker-controlled token content to execute JavaScript in the management UI origin. The endpoint is exposed before authentication only when management.oauth_enabled is true, and exploitation through the cookie path additionally requires the attacker to plant an access_token cookie on the management host. This issue is fixed in versions 4.2.8 and 4.3.2.
CVSS v4.0
Score 7.5high
Affected software
rabbitmq
rabbitmq-server
pkg:github/rabbitmq/rabbitmq-serverRun 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 4.2.0 to 4.2.7 and 4.3.0 to 4.3.1 contain a cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the set_token_auth/2 function inserts a bearer token from the Authorization header or access_token cookie directly into OAuth bootstrap JavaScript without escaping, enabling execution of attacker-controlled JavaScript in the management UI's origin. This endpoint is accessible before authentication only if management.oauth_enabled is true. Exploitation via the cookie path requires the attacker to plant an access_token cookie on the management host. The vulnerability is resolved in versions 4.2.8 and 4.3.2.
Potential Impact
An attacker able to supply a malicious bearer token or plant an access_token cookie on the management host can execute arbitrary JavaScript in the context of the RabbitMQ management UI. This could lead to actions such as session hijacking or other client-side attacks within the management interface. The vulnerability requires the management.oauth_enabled setting to be true and either control over the Authorization header or the ability to plant a cookie on the management host.
Mitigation Recommendations
This vulnerability is fixed in rabbitmq-server versions 4.2.8 and 4.3.2. Users should upgrade to at least these versions to remediate the issue. No other mitigation or temporary workaround is indicated. If upgrading is not immediately possible, ensure that management.oauth_enabled is disabled to prevent exposure of the vulnerable endpoint.
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: 6ab6a25af7a7c54106018e2b
Added to database: 09/25/2026, 16:33:30 UTC
Last enriched: 09/25/2026, 16:48:02 UTC
Last updated: 09/26/2026, 02:44:48 UTC
Views: 12
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.