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).

Exploitability

The vulnerability requires an attacker to craft a specific input that includes malicious scripts, which would then be reflected back to users who access the affected functionality. The attack vector requires user interaction and the vulnerability can be exploited through the client side (CISA).

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-2026-65906CRITICAL10
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 23, 2026
CVE-2026-63077CRITICAL9.8
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
YesYesJul 27, 2026
CVE-2026-59796HIGH8.1
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 10, 2026
CVE-2026-59795MEDIUM6.1
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 10, 2026
CVE-2026-59794MEDIUM5.4
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 10, 2026

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