This CVE represents a trust-boundary inversion: unauthenticated external input is stored raw and rendered in a high-trust internal interface, weaponizing the support agent's own dashboard as a social-engineering delivery mechanism. The critical issue isn't the XSS pattern itself—it's the attack geometry. An unauthenticated attacker can inject arbitrary HTML links directly into the Omnichannel Queue that every support agent sees. The victim doesn't need to click a suspicious link or visit a malicious page; they simply open their standard work interface and encounter a rendered link embedded in their legitimate operational workflow. This inverts the typical phishing model: instead of luring the victim to a malicious site, you deliver the lure inside the victim's own tooling.
The use of dangerouslySetInnerHTML in the rendering layer indicates the developers knew they were handling trusted content—the raw visitor name from storage. But that trust was never validated at ingestion. The visitor endpoint accepts any payload without sanitization, persists it unprocessed in the database, and renders it unchanged into the DOM. This is a three-point failure across storage, transmission, and display. The fix requires input sanitization at the visitor endpoint, but this addresses only this instance—the structural condition that allowed trust to silently cross subsystem boundaries remains. Future injection surfaces will appear wherever different teams make different trust assumptions, because the architecture never shifted from 'trust at boundary' to 'verify everywhere.'
What makes this analytically distinct from standard stored XSS is the targeted social context: the Omnichannel Queue is a real-time operational view where agents managing active conversations are primed to act on queue entries. A link embedded there carries implicit institutional trust that a random email or message lacks. The CVSS 7.5 score understates the threat geometry—this requires no authentication, no privileges, and no user interaction beyond opening the work interface. One visitor submission, one agent shift, one click. From there: endpoint compromise, lateral movement, credential harvest. The attacker doesn't need to build a convincing phishing campaign; they've weaponized the victim's own operational tooling.
For defenders, the priority is immediate patching—this affects multiple version branches and the Livechat visitor queue in any deployment exposing the visitor endpoint to untrusted submissions. Beyond patching, treat any data crossing the external-internal boundary as suspect regardless of how it's classified at ingestion. The deeper question is whether Rocket.Chat's patch addresses the pattern or just this instance. Organizations on older branches (particularly 7.10.x) should verify the CVE backport actually propagates to their deployment—community-supported branches don't always receive the same patch velocity as current releases.