Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject crafted payload into monitored repository source
-
ExploitPayload stored in unified diff syntax highlighting
-
ExecutionVictim opens the diff page in TeamCity
-
ImpactScript executes in victim's browser session
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 an attacker to place a malicious payload into source content that TeamCity then renders with syntax highlighting on the unified diff page, and requires a victim TeamCity user to open that specific diff page for the stored script to run (UI:R). Limiting factors: this is tied to the unified diff page syntax-highlighting feature rather than a general endpoint; it affects TeamCity versions before 2026.2 and before 2026.1.4; and it depends on victim interaction (viewing the diff). The description does not detail exactly how the payload bypasses highlighting sanitization, and although the supplied vector states PR:N, injecting content into a diff typically presupposes some ability to contribute source that TeamCity displays. |
| Impact | This is a stored cross-site scripting flaw (CWE-79) in JetBrains TeamCity's unified diff page syntax highlighting, rated CVSS 6.1 (medium). The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates a network-reachable, low-complexity issue whose payload executes in a victim's browser only after the victim opens the affected diff page (UI:R), with a scope change (S:C) reflecting script execution in a different security context and limited confidentiality/integrity impact. The vuln.today priority Decision label is 'this_month', consistent with a medium-severity, non-emergency issue rather than act_now/emergency. Signals are incomplete and somewhat conflicting: no EPSS exploitation-probability score is provided, the CVE is not in CISA KEV, and no proof-of-concept or exploit code is referenced (the only reference is JetBrains' own issues-fixed page), so there is no evidence of active or likely imminent exploitation. One tension worth verifying: the vector asserts PR:N (unauthenticated), but stored XSS in a source-diff view generally requires an actor able to inject content into the source that TeamCity renders (e.g., committing to a monitored repository), which in most TeamCity deployments implies at least some privilege - treat the PR:N rating with caution and verify the injection path with the vendor. Overall this reads as a genuine but lower-tier priority: patch on a normal maintenance cadence rather than as an emergency. |
| Exploit ScenarioDerived | An attacker introduces a crafted payload into repository source content so that, when TeamCity renders that content with syntax highlighting on the unified diff page, the stored script executes in the browser of a TeamCity user who later views the diff. Because user interaction is required (the victim must open the affected diff page), exploitation depends on a victim visiting the malicious diff. No public exploit code is referenced for this issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Stored cross-site scripting in JetBrains TeamCity's unified diff page syntax highlighting can execute attacker-supplied script in a victim's browser when that user opens a crafted diff view. The issue affects TeamCity versions prior to the fixed releases 2026.2 and 2026.1.4; the assessed vector is CVSS 6.1 medium with low privileges (PR:L) and required user interaction (UI:R). No public exploit was identified at time of analysis.
RemediationAI
Upgrade JetBrains TeamCity to 2026.2 or 2026.1.4, the vendor-released fixed versions for the affected branches, and consult the JetBrains advisory at https://www.jetbrains.com/privacy-security/issues-fixed/ for branch-specific confirmation. No separate workaround is described in the available sources, so the upgrade is the remediation identified by the supplied data. The supplied priority label is this_month, so schedule the upgrade within this month's patch cycle.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-79 cross-site scripting in JetBrains TeamCity, a CI/CD server. The affected feature is the unified diff page's syntax highlighting: content that TeamCity displays in a diff can carry a stored payload, and when a victim views that diff page the rendered highlighting path can execute script in the TeamCity web UI context. The assessed CVSS vector includes AV:N, AC:L, PR:L, UI:R, and S:C, so the supplied assessment places it as a remote, low-privilege issue that depends on victim interaction; the sources do not describe the exact mechanism by which the payload evades highlighting sanitization. CPE cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* covers the TeamCity product family, with fixes in 2026.2 and 2026.1.4.
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:N/UI:R/S:C/C:L/I:L/A:N
Stored XSS needs content injected into a rendered diff (typically some repository/contributor privilege, so PR:L) and a victim viewing the page (UI:R); script runs in a different context (S:C) with limited C/I impact.
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
1DescriptionCVE.org
In JetBrains TeamCity before 2026.2, 2026.1.4 stored XSS in the unified diff page syntax highlighting was possible
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.
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
Remote code execution in JetBrains TeamCity server affects versions before 2026.1.3 and before 2025.11.7, where a crafte
Remote code execution in JetBrains TeamCity (versions before 2026.1.3 and before 2025.11.7) is possible through argument
Remote code execution in JetBrains TeamCity allows an authenticated user with rights to create or modify Perforce VCS ro
Remote code execution in JetBrains TeamCity before 2026.1.3 and before 2025.11.7 is reachable by an authenticated user w
Remote code execution in JetBrains TeamCity CI/CD servers affects releases before 2026.2, 2026.1.4, and 2025.11.8 when t
EUVD-2026-129687
GHSA-5xcm-34rx-366c
NVD
CVE.org
EPSS
VulDB
Exploit-DB