CVE-2025-68163: CWE-79 in JetBrains TeamCity
In JetBrains TeamCity before 2025.11 stored XSS was possible on agentpushInstall page
AI Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland
CVE-2025-68163: CWE-79 in JetBrains TeamCity
Description
In JetBrains TeamCity before 2025.11 stored XSS was possible on agentpushInstall page
AI-Powered Analysis
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-14061: CWE-862 Missing Authorization in wplegalpages Cookie Banner, Cookie Consent, Consent Log, Cookie Scanner, Script Blocker (for GDPR, CCPA & ePrivacy) : WP Cookie Consent
MediumCVE-2025-13750: CWE-862 Missing Authorization in mateuszgbiorczyk Converter for Media – Optimize images | Convert WebP & AVIF
MediumCVE-2025-11924: CWE-639 Authorization Bypass Through User-Controlled Key in kstover Ninja Forms – The Contact Form Builder That Grows With You
HighCVE-2025-14817: CWE-269 Improper Privilege Management in TECNO Tecno Pova6 Pro 5G
UnknownCVE-2025-14154: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wordplus Better Messages – Live Chat for WordPress, BuddyPress, PeepSo, Ultimate Member, BuddyBoss
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.