JetBrains TeamCity
CVE-2025-67741
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged TeamCity user
-
DeliveryInject script into session attribute
-
ExploitPayload stored server-side
-
ExecutionVictim loads affected page
-
ImpactScript runs in victim browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated TeamCity account with at least low-level privileges (PR:L) to write the malicious payload into the vulnerable session attribute, and it requires a second user to subsequently render the affected content (UI:R) for the script to fire. It is therefore not exploitable by fully unauthenticated attackers and depends on both account access and victim interaction; impact is limited to script execution in the victim's authenticated browser context (C:L/I:L, no availability impact). Affects JetBrains TeamCity server builds prior to 2025.11. |
| Impact | This is a moderate, not a top-priority, issue. The CVSS 3.1 base score of 5.4 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) describes a stored XSS that is network-reachable with low complexity but gated by two meaningful limiters: it requires an authenticated TeamCity user (PR:L) to inject the payload and requires a victim to view the affected content (UI:R). The scope change (S:C) and C:L/I:L reflect that injected script executes in another user's browser context rather than directly compromising the server. The EPSS score of 0.49% (40th percentile) is low, indicating no significant mass-exploitation signal. There is no CISA KEV listing and no public exploit code referenced in the provided data, so there is no evidence of active exploitation. Signals are internally consistent: a low-privilege-but-authenticated web flaw with modest impact and low exploitation probability. No conflicting data was observed, though the only reference is a generic JetBrains 'issues fixed' advisory page rather than a CVE-specific writeup, so precise affected-build granularity below '2025.11' is not independently confirmed. |
| Exploit ScenarioDerived | An authenticated TeamCity user with low privileges stores a malicious script via a vulnerable session attribute; when another user (such as an administrator) views the affected page, the script executes in their browser session. No public exploit code was identified at time of analysis, so this reflects the mechanics implied by the CVSS vector rather than a demonstrated PoC. Because exploitation needs both a valid account and victim interaction, it is most plausible as an insider or compromised-account escalation path rather than opportunistic remote attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in JetBrains TeamCity server builds prior to 2025.11 allows an authenticated user with low-level privileges to plant a malicious script payload in a session attribute, which then executes in the browser of another user who renders the affected content. Exploitation is not fully unauthenticated: it requires a valid low-privilege TeamCity account to stage the payload (PR:L) plus victim interaction (UI:R), and the resulting impact is limited to script execution inside the victim's authenticated browser context with low confidentiality and integrity effects and no availability impact (CVSS 5.4, CWE-79). No public exploit code has been identified at time of analysis, and EPSS places exploitation likelihood at roughly 0.5% (40th percentile), making this a moderate, not top-priority, issue.
RemediationAI
Vendor-released patch: upgrade the TeamCity server to 2025.11 or later, which is the first release in which this stored XSS via session attribute is fixed; the consolidated JetBrains advisory listing the fix is at https://www.jetbrains.com/privacy-security/issues-fixed/. Because the vulnerability requires a valid low-privilege TeamCity account to stage the payload, risk can be reduced while scheduling the upgrade by tightening account provisioning and reviewing who holds even basic authenticated access to the server, and by restricting network exposure of the TeamCity web UI to trusted networks or VPN rather than the public internet - a trade-off that limits remote developer and build-agent access. Administrators should also invalidate active sessions after upgrading so that any previously stored malicious session attributes are cleared, and should monitor for unexpected script content appearing in shared or session-derived views; note that generic browser-side filtering or WAF rules are unreliable against stored XSS in an authenticated application and should not be treated as a substitute for the 2025.11 upgrade.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The defect is a stored cross-site scripting flaw (CWE-79) in TeamCity, JetBrains' Java-based continuous integration and build management server. Rather than reflecting user input immediately, the application persists attacker-controlled data in a session attribute and later emits it into a page without adequate output encoding or sanitization, so the payload survives across requests and fires for any subsequent viewer of the affected view. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N confirms network reachability, low attack complexity, and a required low-privilege authenticated account, with scope change (S:C) reflecting that the script executes in the security context of a different user than the one who injected it. Only session attributes are described as the injection vector in the available data; the CPE entry cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* is an unbounded version wildcard, so the authoritative version boundary is the vendor's statement of 'before 2025.11'.
Know when Teamcity gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Authenticated user must store the payload (PR:L) and a victim must view it (UI:R); stored XSS crosses into the victim's browser context (S:C) with limited C/I and no availability impact.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
In JetBrains TeamCity before 2025.11 stored XSS was possible via session attribute
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)NVD
Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ
Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar
In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti
In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS
Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa
Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve
JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that
Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white
In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s
In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e
In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB