Skip to main content

JetBrains TeamCity CVE-2025-67741

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-11 cve@jetbrains.com
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged TeamCity user
  2. Delivery
    Inject script into session attribute
  3. Exploit
    Payload stored server-side
  4. Execution
    Victim loads affected page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

In JetBrains TeamCity before 2025.11 stored XSS was possible via session attribute

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
High
widely deployed enterprise CI/CD server, though smaller footprint than Jenkins
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*
CVE-2024-27199 HIGH POC
7.3 Mar 04

Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ

CVE-2026-63077 CRITICAL POC
9.8 Jul 27

Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar

CVE-2024-27198 CRITICAL POC
9.8 Mar 04

In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti

CVE-2023-42793 CRITICAL POC
9.8 Sep 19

In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti

CVE-2024-23917 CRITICAL POC
9.8 Feb 06

In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS

CVE-2026-65906 CRITICAL
10.0 Jul 23

Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa

CVE-2026-106218 CRITICAL
10.0 Oct 06

Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve

CVE-2026-100255 CRITICAL
9.8 Sep 30

JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that

CVE-2026-111094 CRITICAL
9.8 Oct 15

Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white

CVE-2024-41827 CRITICAL
9.8 Jul 22

In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s

CVE-2024-36470 CRITICAL
9.8 May 29

In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e

CVE-2023-34218 CRITICAL
9.8 May 31

In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy