CVE-2024-36374
Published: 29 May 2024
Summary
CVE-2024-36374 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jetbrains Teamcity. Its CVSS base score is 4.6 (Medium).
Operationally, ranked in the top 2.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-36374 is a stored cross-site scripting vulnerability (CWE-79) affecting JetBrains TeamCity versions prior to 2024.03.2. The flaw resides in build step settings, where insufficient input sanitization allows persistent malicious scripts to be stored and later rendered in users' browsers.
An attacker with low-privileged authenticated access can inject XSS payloads through build step configuration. When another user views the affected build configuration, the script executes in their session context, potentially leading to limited disclosure or modification of data; the CVSS vector reflects network reachability, low attack complexity, required user interaction, and unchanged scope.
The vendor advisory at the JetBrains security issues page states that the issue is resolved in TeamCity 2024.03.2, indicating that upgrading to this or a later release eliminates the stored XSS vector.
EPSS remains flat at 0.4581 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-36042
Vulnerability details
In JetBrains TeamCity before 2024.03.2 stored XSS via build step settings was possible
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.