CVE-2021-31908
JetBrains TeamCity vulnerability analysis and mitigation

Overview

In JetBrains TeamCity before version 2020.2.3, stored XSS (Cross-Site Scripting) vulnerabilities were discovered on several pages of the application (JetBrains Blog, NVD). The vulnerability was assigned identifier CVE-2021-31908 and was disclosed on May 11, 2021.

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) with a CVSS v3.1 base score of 5.4 (Medium severity). The attack vector is network-based (AV:N), with low attack complexity (AC:L), requiring low privileges (PR:L) and user interaction (UI:R). The scope is changed (S:C) with low confidentiality and integrity impacts (C:L, I:L) and no availability impact (A:N) (NVD).

Impact

The stored XSS vulnerability could allow attackers to inject malicious web scripts or HTML that would be executed in the context of other users' browsers when they visit the affected pages. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks (NVD).

Mitigation and workarounds

The vulnerability was fixed in TeamCity version 2020.2.3. Users are advised to upgrade to this version or later to address the security issue (JetBrains Blog).

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-59457HIGH7.7
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesSep 17, 2025
CVE-2025-57734MEDIUM6.5
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesAug 20, 2025
CVE-2025-59456MEDIUM5.5
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesSep 17, 2025
CVE-2025-59455MEDIUM4.2
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesSep 17, 2025
CVE-2025-57733LOW3.8
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesAug 20, 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