Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-50575 Overview
CVE-2024-50575 is a reflected cross-site scripting (XSS) vulnerability in JetBrains YouTrack versions prior to 2024.3.47707. The flaw resides in the Widget API and allows an attacker to inject executable script into a response that is reflected back to a victim's browser. Exploitation requires user interaction, typically convincing a victim to click a crafted link. Successful attacks execute script in the context of the victim's authenticated YouTrack session.
Critical Impact
Attackers can run arbitrary JavaScript in a victim's browser session, enabling session data theft, UI manipulation, and actions performed on behalf of the authenticated user.
Affected Products
- JetBrains YouTrack versions prior to 2024.3.47707
- Deployments exposing the Widget API to authenticated users
- Both self-hosted YouTrack and InCloud instances running vulnerable builds
Discovery Timeline
- 2024-10-28 - CVE-2024-50575 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-50575
Vulnerability Analysis
The vulnerability is a reflected cross-site scripting flaw tracked under [CWE-79]. The YouTrack Widget API fails to properly encode or sanitize attacker-controlled input before returning it in an HTTP response. A victim who loads a crafted URL triggers execution of injected JavaScript within the YouTrack origin.
Because the script runs in the authenticated user's context, it can read session cookies that are not marked HttpOnly, call authenticated API endpoints, and modify page content. The scope change in the attack metrics reflects that script executed in the YouTrack origin can reach data outside the originating component.
User interaction is required, so exploitation typically relies on phishing, malicious comments, or links embedded in trusted channels frequented by YouTrack users.
Root Cause
The root cause is missing or incomplete output encoding of user-supplied parameters processed by the Widget API. Input intended as data is reflected into an HTML or JavaScript context without contextual escaping, allowing the browser to parse and execute attacker-controlled markup.
Attack Vector
An attacker crafts a URL to a vulnerable YouTrack endpoint containing a malicious payload in a parameter consumed by the Widget API. The attacker delivers the link through email, chat, or an issue comment. When an authenticated YouTrack user opens the link, the server reflects the payload and the browser executes the script.
No synthetic exploit code is published here; see the JetBrains Fixed Security Issues advisory for vendor-supplied details.
Detection Methods for CVE-2024-50575
Indicators of Compromise
- Inbound requests to YouTrack Widget API endpoints containing <script>, javascript:, onerror=, or encoded script fragments in query parameters
- Unexpected outbound requests from browser sessions to attacker-controlled domains originating from the YouTrack origin
- Unusual YouTrack API calls executed by authenticated users immediately after clicking an external link
Detection Strategies
- Inspect web server and reverse-proxy logs for Widget API requests containing HTML or JavaScript metacharacters in parameters
- Correlate referrer headers for YouTrack sessions that originate from untrusted external domains followed by sensitive API activity
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution attempts within YouTrack
Monitoring Recommendations
- Alert on YouTrack access logs containing URL-encoded script payloads such as %3Cscript%3E or onerror%3D
- Monitor for new or anomalous session cookie usage patterns following link clicks from external messaging platforms
- Track YouTrack version strings across the estate to confirm all instances meet or exceed 2024.3.47707
How to Mitigate CVE-2024-50575
Immediate Actions Required
- Upgrade all JetBrains YouTrack instances to version 2024.3.47707 or later
- Verify upgrade status for both on-premise and InCloud deployments and confirm the patched build is active
- Instruct users to avoid clicking YouTrack links received from untrusted sources until patching is complete
Patch Information
JetBrains addressed the issue in YouTrack 2024.3.47707. Patch details and the full list of fixed security issues are published in the JetBrains Fixed Security Issues advisory. Administrators should apply the vendor update rather than relying solely on compensating controls.
Workarounds
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to the YouTrack origin
- Restrict access to YouTrack to authenticated users on trusted networks or via VPN until the patch is applied
- Ensure session cookies are configured with HttpOnly and Secure attributes to limit the impact of script execution
# Example reverse-proxy header hardening (nginx)
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; frame-ancestors 'self'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

