CVE-2022-24338
JetBrains TeamCity vulnerability analysis and mitigation

Overview

JetBrains TeamCity before version 2021.2.1 was discovered to contain a reflected Cross-Site Scripting (XSS) vulnerability, identified as CVE-2022-24338. The vulnerability was disclosed on February 25, 2022, affecting TeamCity installations prior to the patched version (NVD, JetBrains Issues).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS score of 4.3, indicating a moderate level of risk. The vulnerability type is categorized as CWE-79, which refers to improper neutralization of input during web page generation ('Cross-site Scripting'). The issue allows for reflected XSS attacks, where malicious scripts can be executed in the context of the vulnerable TeamCity application (CISA).

Impact

The vulnerability could allow attackers to execute arbitrary web scripts or HTML in the context of the affected TeamCity application. This could potentially lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the authenticated user's session (NVD).

Mitigation and workarounds

The recommended mitigation is to upgrade TeamCity installations to version 2021.2.1 or later, which contains the security fix for this vulnerability. JetBrains has addressed the issue in the patched version (JetBrains Issues).

Additional resources


SourceThis report was generated using AI

Related JetBrains TeamCity vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68267MEDIUM6.5
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68268MEDIUM6.1
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68166MEDIUM6.1
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68165MEDIUM6.1
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68164LOW2.7
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management