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-68163: CWE-79 in JetBrains TeamCity

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

Description

In JetBrains TeamCity before 2025.11 stored XSS was possible on agentpushInstall page

AI-Powered Analysis

AILast updated: 12/16/2025, 15:43:05 UTC

Technical Analysis

CVE-2025-68163 is a stored Cross-Site Scripting (XSS) vulnerability identified in JetBrains TeamCity, a popular continuous integration and deployment server, affecting versions prior to 2025.11. The vulnerability exists on the agentpushInstall page, where malicious input can be stored and later executed in the context of other users viewing the page. This type of vulnerability is categorized under CWE-79, indicating improper neutralization of input leading to script injection. Exploitation requires an authenticated user with high privileges to inject malicious JavaScript code, which is then stored persistently. When other users access the affected page, the malicious script executes in their browsers, potentially allowing attackers to steal session tokens, perform actions on behalf of users, or conduct phishing attacks within the application context. The CVSS 3.1 base score is 3.5, reflecting low severity due to the need for authentication, user interaction, and limited impact on confidentiality and integrity. No known exploits have been reported in the wild, and no official patches were linked at the time of publication. The vulnerability highlights the importance of proper input validation and output encoding in web applications, especially in administrative interfaces. Given TeamCity's role in software development pipelines, exploitation could lead to further compromise if attackers leverage the XSS to escalate privileges or move laterally within an organization’s infrastructure.

Potential Impact

For European organizations, the impact of CVE-2025-68163 is primarily related to the confidentiality and integrity of the TeamCity environment. Successful exploitation could allow attackers to hijack user sessions or perform unauthorized actions within the TeamCity server, potentially disrupting software build and deployment processes. While the vulnerability does not directly affect availability, compromised build pipelines could indirectly impact operational continuity. Organizations relying heavily on TeamCity for continuous integration and deployment may face risks of intellectual property exposure or insertion of malicious code into software builds if attackers escalate privileges after initial XSS exploitation. The requirement for authenticated high-privilege users to exploit the vulnerability limits the attack surface but does not eliminate risk, especially in environments with many privileged users or weak internal controls. Additionally, the stored nature of the XSS increases the risk of persistent attacks affecting multiple users over time. European entities with stringent regulatory requirements around data protection and software integrity must address this vulnerability to maintain compliance and safeguard development environments.

Mitigation Recommendations

1. Upgrade TeamCity to version 2025.11 or later as soon as the patch becomes available to eliminate the vulnerability. 2. Until patching is possible, restrict access to the agentpushInstall page to only the minimum necessary users with high privileges, using network segmentation and access control lists. 3. Implement strict input validation and output encoding on all user-supplied data fields within TeamCity, especially those related to the agentpushInstall page, to prevent script injection. 4. Deploy Content Security Policy (CSP) headers to limit the execution of unauthorized scripts within the TeamCity web interface. 5. Conduct regular security training for privileged users to recognize phishing and social engineering attempts that could leverage XSS vulnerabilities. 6. Monitor TeamCity logs and user activity for unusual behavior that might indicate exploitation attempts. 7. Consider using Web Application Firewalls (WAF) with custom rules to detect and block XSS payloads targeting TeamCity. 8. Review and tighten authentication and session management controls to reduce the impact of potential session hijacking.

Need more detailed analysis?Get Pro

Technical Details

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

Threat ID: 69417c3609f61faec595077a

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

Last enriched: 12/16/2025, 3:43:05 PM

Last updated: 12/17/2025, 8:25:13 AM

Views: 7

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