Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-68165: CWE-79 in JetBrains TeamCity

0
Medium
VulnerabilityCVE-2025-68165cvecve-2025-68165cwe-79
Published: Tue Dec 16 2025 (12/16/2025, 15:27:29 UTC)
Source: CVE Database V5
Vendor/Project: JetBrains
Product: TeamCity

Description

CVE-2025-68165 is a reflected Cross-Site Scripting (XSS) vulnerability in JetBrains TeamCity versions prior to 2025. 11, specifically affecting the VCS Root setup interface. This vulnerability allows an unauthenticated attacker to inject malicious scripts that execute in the context of a victim's browser when they interact with the vulnerable page, requiring user interaction but no privileges. The CVSS score is 5. 4 (medium severity), reflecting limited confidentiality and integrity impact without affecting availability. No known exploits are currently in the wild, and no patches have been linked yet. European organizations using TeamCity for continuous integration and deployment may face risks of session hijacking, credential theft, or further exploitation via this vulnerability. Mitigation involves applying vendor patches once available, implementing strict input validation and output encoding on VCS Root setup parameters, and restricting access to TeamCity interfaces. Countries with significant software development sectors and high adoption of JetBrains products, such as Germany, France, and the UK, are most likely to be affected. Given the medium severity and the requirement for user interaction, defenders should prioritize monitoring and timely patching to reduce exposure.

AI-Powered Analysis

AILast updated: 12/23/2025, 15:59:01 UTC

Technical Analysis

CVE-2025-68165 is a reflected Cross-Site Scripting (XSS) vulnerability identified in JetBrains TeamCity, a widely used continuous integration and deployment server. The flaw exists in the VCS Root setup component prior to version 2025.11, where user-supplied input is improperly sanitized and reflected back in HTTP responses. This allows an attacker to craft malicious URLs or payloads that, when visited by a legitimate user with access to the TeamCity interface, execute arbitrary JavaScript in the victim's browser context. The vulnerability does not require authentication (PR:N), has low attack complexity (AC:L), and requires user interaction (UI:R). The impact is limited to confidentiality and integrity, as attackers can potentially steal session cookies, perform actions on behalf of the user, or manipulate displayed data, but it does not affect system availability. The CVSS 3.1 base score is 5.4, indicating a medium severity level. No public exploits or patches are currently reported, but the vulnerability is officially published and assigned by JetBrains. The reflected XSS in a CI/CD tool like TeamCity could be leveraged in targeted attacks against developers or DevOps personnel, potentially leading to broader compromise if attackers escalate privileges or move laterally within networks.

Potential Impact

For European organizations, the impact of CVE-2025-68165 can be significant in environments relying heavily on JetBrains TeamCity for software development and deployment. Exploitation could lead to theft of authentication tokens, unauthorized actions within the TeamCity interface, and potential injection of malicious code into build pipelines. This compromises the integrity of the software supply chain and could facilitate further attacks such as malware insertion or data exfiltration. Confidentiality breaches may expose sensitive project information or credentials. Although availability is not directly impacted, the indirect consequences of compromised CI/CD systems can disrupt development workflows and delay critical software releases. Organizations in sectors with stringent compliance requirements (e.g., finance, healthcare, critical infrastructure) may face regulatory and reputational risks if such vulnerabilities are exploited. The requirement for user interaction somewhat limits automated exploitation but does not eliminate risk, especially in phishing or social engineering scenarios targeting developers.

Mitigation Recommendations

1. Apply official patches from JetBrains as soon as they are released for TeamCity 2025.11 or later versions addressing this vulnerability. 2. Until patches are available, restrict access to the TeamCity web interface to trusted networks and authenticated users only, minimizing exposure to untrusted actors. 3. Implement Web Application Firewall (WAF) rules to detect and block reflected XSS attack patterns targeting the VCS Root setup endpoints. 4. Enforce strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers accessing TeamCity. 5. Educate developers and DevOps staff about the risks of clicking on suspicious links related to TeamCity and encourage cautious handling of URLs received via email or chat. 6. Conduct regular security assessments and code reviews of custom TeamCity plugins or integrations that might exacerbate XSS risks. 7. Monitor logs and user activity for unusual access patterns or repeated failed attempts to exploit the vulnerability. 8. Consider network segmentation to isolate CI/CD infrastructure from general user networks to reduce the attack surface.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
JetBrains
Date Reserved
2025-12-16T11:54:40.169Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69417c3609f61faec5950780

Added to database: 12/16/2025, 3:35:18 PM

Last enriched: 12/23/2025, 3:59:01 PM

Last updated: 2/7/2026, 10:43:54 AM

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats