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

In JetBrains TeamCity before 2025.11 reflected XSS was possible on VCS Root setup

AI-Powered Analysis

AILast updated: 12/16/2025, 15:42:37 UTC

Technical Analysis

CVE-2025-68165 is a reflected Cross-Site Scripting (XSS) vulnerability classified under CWE-79 found in JetBrains TeamCity, a popular continuous integration and deployment server. The flaw exists in the VCS Root setup interface in versions prior to 2025.11. Reflected XSS occurs when untrusted input is immediately returned by a web application without proper sanitization or encoding, allowing attackers to inject malicious JavaScript code. In this case, an attacker can craft a specially crafted URL or input that, when visited or submitted by a user with access to the TeamCity interface, executes arbitrary scripts in the victim’s browser context. This can lead to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of the user. The vulnerability does not require any privileges (PR:N) but does require user interaction (UI:R), such as clicking a malicious link. The attack vector is network-based (AV:N), and the attack complexity is low (AC:L). The impact on confidentiality and integrity is limited (C:L, I:L), with no impact on availability (A:N). No known public exploits have been reported yet, but the vulnerability is publicly disclosed and assigned a CVSS score of 5.4, indicating medium severity. The lack of a patch link suggests that a fix may be pending or recently released. JetBrains TeamCity is widely used in software development environments, making this vulnerability relevant to organizations relying on it for build automation and deployment pipelines.

Potential Impact

For European organizations, the reflected XSS vulnerability in TeamCity could allow attackers to compromise user sessions, steal authentication tokens, or perform unauthorized actions within the TeamCity interface. This can lead to exposure of sensitive build configurations, source code repository credentials, or pipeline manipulations, potentially undermining the integrity of software delivery processes. While the vulnerability does not directly impact system availability, the confidentiality and integrity risks can facilitate further attacks, such as supply chain compromises or lateral movement within networks. Organizations with large development teams using TeamCity are at higher risk, especially if users are not trained to recognize phishing or malicious links. The medium severity indicates a moderate risk that should be addressed promptly to prevent exploitation, especially in environments where TeamCity is exposed to the internet or accessible by many users.

Mitigation Recommendations

1. Update TeamCity to version 2025.11 or later as soon as the patch is available to eliminate the vulnerability. 2. Until patching is possible, restrict access to the TeamCity interface to trusted networks and users only, using VPNs or IP whitelisting. 3. Implement Web Application Firewall (WAF) rules to detect and block reflected XSS attack patterns targeting the VCS Root setup page. 4. Educate users about the risks of clicking on suspicious links, especially those that could lead to the TeamCity interface. 5. Review and harden input validation and output encoding on all TeamCity web pages, particularly those handling user-supplied data. 6. Monitor logs for unusual access patterns or attempts to exploit XSS vectors. 7. Consider deploying Content Security Policy (CSP) headers to reduce the impact of potential XSS attacks by restricting script execution sources.

Need more detailed analysis?Get Pro

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/16/2025, 3:42:37 PM

Last updated: 12/16/2025, 9:18:36 PM

Views: 10

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats