CVE-2023-38066
JetBrains TeamCity vulnerability analysis and mitigation

Overview

In JetBrains TeamCity before version 2023.05.1, a reflected Cross-Site Scripting (XSS) vulnerability was discovered that could be exploited via the Referer header during artifact downloads. The vulnerability was assigned CVE-2023-38066 and was disclosed on July 12, 2023 (NVD CVE, MITRE CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). According to the CVSS 3.1 scoring system, it received a base score of 6.1 (Medium) from NVD with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, while JetBrains assessed it with a score of 4.6 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N (NVD CVE).

Impact

The vulnerability could allow an attacker to execute cross-site scripting attacks through the Referer header when users download artifacts, potentially leading to unauthorized access to sensitive information or manipulation of web content (NVD CVE).

Mitigation and workarounds

The vulnerability has been fixed in TeamCity version 2023.05.1. Users are advised to upgrade to this version or later to mitigate the risk (JetBrains Advisory).

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