⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

CVE-2026-144241: HTML Injection in RabbitMQ Management OAuth Login Warning | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-144241: HTML Injection in RabbitMQ Management OAuth Login Warning

Executive Summary

CVE-2026-144241 documents an HTML injection vulnerability in the rabbitmq_management plugin of RabbitMQ Server. The advisory describes how the check_bad_response function passes a server-supplied 401 or 403 error reason to the login_oauth.ejs template without escaping it. This permits active HTML — supplied indirectly through a queue name — to be rendered inside the management interface rather than displayed as inert text.

The flaw is documented with a CVSS score of 4.8, and the risk assessment assigns a low real-world impact based on the precondition that the attacker must already hold configure permission in RabbitMQ and that no exploitation has been recorded. The advisory nonetheless highlights a credential-disclosure path: injected markup can retarget the management UI's periodic refresh traffic toward an attacker origin, potentially leaking the victim's Authorization header.

Affected Systems

The vulnerability is recorded against the following RabbitMQ Server release ranges:

  • RabbitMQ Server 3.13.19 before 3.13.21

  • RabbitMQ Server 4.1.15 before 4.1.17

  • RabbitMQ Server 4.2.10 before 4.2.12

  • RabbitMQ Server 4.3.5 before 4.3.7

The first fixed version in each affected branch is:

  • 3.13.21

  • 4.1.17

  • 4.2.12

  • 4.3.7

Other release lines are not named in the advisory and should be reviewed against vendor release notes.

Vulnerability Details

The underlying defect is a missing output-encoding step at the boundary between the OAuth response-handling code and the EJS template. When a 401 or 403 response carries an attacker-influenced reason string, that string is interpolated into the OAuth login warning view and interpreted by the browser as HTML.

The advisory describes the chain required to reach the payload:

  1. An attacker with configure permission declares a queue whose name contains an HTML payload.

  1. A victim who lacks read permission on that queue requests its messages through the management interface.

  1. The UI surfaces the access-denied warning, rendering the attacker-supplied markup from the queue name.

  1. Injected markup — for example, an element that overrides the refresh target — directs subsequent periodic refresh requests in the UI to an attacker-controlled origin.

  1. The browser's outbound request carries the victim's Authorization header, which the attacker origin can capture.

No exploit code, in-the-wild activity, or CISA KEV inclusion is documented for this CVE in the provided intelligence.

Impact Assessment

The technical severity is constrained by a strong authentication precondition. Unauthenticated network reachability is not enough; the attacker must already be a privilege-holder in RabbitMQ. The victims are authenticated management-UI users, which limits the surface to operators and administrators rather than end users. The credential at risk is the Authorization header used by the management UI — distinct from application-level RabbitMQ credentials but capable of admitting the same session if bearer tokens are reused.

Because no exploitation is recorded and the precondition is non-trivial, the practical impact is bounded even where the code path is reachable.

Mitigation

  • Upgrade RabbitMQ Server to 3.13.21, 4.1.17, 4.2.12, or 4.3.7, depending on the installed major release line, to obtain the fixed rabbitmq_management plugin.

  • Reduce the population of accounts holding configure permission on the broker; the advisory's attack chain starts there.

  • Restrict the management HTTP listener to trusted networks and to identities that genuinely require UI access.

  • Audit recent management-UI activity for queue names containing HTML markup or arbitrary HTML-shaped strings, particularly on vhosts where untrusted users can declare queues.

  • If a deployment has rendered the OAuth warning with crafted content, treat the involved browser sessions as potentially compromised and rotate any Authorization tokens that may have been exposed.

  • Track upstream RabbitMQ security advisories for revised guidance or detection signatures; none is provided in the context for this CVE.

Detection Notes

The supplied intelligence does not include a vendor detection signature. Practical indicators include management-interface proxy logs showing refresh requests directed at origins outside the RabbitMQ deployment, queue names containing <, >, or other HTML-meaningful characters, and concentrated failed OAuth responses whose reason strings resemble markup. These are heuristics, not confirmed signatures.

Outlook

The presence of the fix across all four release lines in the advisory suggests the patch was prepared in parallel for multiple branches, which is consistent with a coordinated disclosure. The combination of a low CVSS, an authentication-gated attacker model, and no recorded exploitation places this advisory in the routine-maintenance category for most operators — a useful reminder to keep brokers on patched versions and to think carefully about who can declare resources whose names reach UI templates.

advisory medium CVE-2026-144241
·
← Back to Writeups