Skip to main content
CVE-2025-68166VulnerabilityPublished

CVE-2025-68166: JetBrains TeamCity · Cross-site Scripting

Affects JetBrains TeamCitySource CVE Database V5

0

Not known to be exploited · CVSS 5.4 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
JetBrains TeamCityAffected
  • =0
Fixed in–

AI-suggested

1. Upgrade JetBrains TeamCity to version 2025.11 or later as soon as the patch is released to ensure the vulnerability is fully remediated. 2. Until patching is possible, restrict access to the TeamCity web interface, especially the OAuth connections tab, using network segmentation, VPNs, or IP whitelisting to limit exposure. 3. Implement strict Content Security Policies (CSP) in the TeamCity web server configuration to reduce the risk of script injection and execution. 4. Conduct a thorough review of custom plugins or integrations that interact with the OAuth connections tab to ensure they do not introduce additional XSS risks. 5. Educate users about the risks of clicking on suspicious links or interacting with untrusted content within TeamCity interfaces. 6. Monitor logs and user activity for unusual behavior indicative of attempted exploitation. 7. Employ web application firewalls (WAFs) with rules targeting DOM-based XSS patterns to provide an additional layer of defense. 8. Regularly audit and sanitize all user inputs and outputs related to OAuth and authentication features in TeamCity.

Description

CVE-2025-68166 is a medium-severity DOM-based Cross-Site Scripting (XSS) vulnerability affecting JetBrains TeamCity versions prior to 2025.11. The flaw exists on the OAuth connections tab, where untrusted input is improperly handled, allowing an attacker to execute arbitrary scripts in the context of the victim's browser. Exploitation requires user interaction but no authentication, and can lead to limited confidentiality and integrity impacts without affecting availability. No known exploits are currently reported in the wild. European organizations using TeamCity for continuous integration and deployment could face targeted attacks leveraging this vulnerability, especially those with public-facing or internally accessible TeamCity instances. Mitigation involves updating to the fixed version 2025.11 once available and implementing strict input validation and Content Security Policies. Countries with significant software development sectors and high adoption of JetBrains tools, such as Germany, France, and the UK, are most likely to be affected. Given the medium CVSS score of 5.

References

Community reviews

Loading reviews…