TeamCity - Unauthenticated stored XSS -> RCE
TeamCity 2026.1 legacy UI is vulnerable to XSS. An admin using legacy UI while viewing TC agent-details page will trigger the XSS vulnerability. This will instantly trigger RCE by grabbing a payload from an attacker controlled server over WebSocket that installs a malicious plugin. The attacker needs no credentials or prior knowledge about the server, the stored XSS payload can be delivered unauthenticated.
The vulnerable legacy UI can be forced via a one-click crafted &fromSakuraUI=true link.