CVE-2024-36371
Published: 29 May 2024
Summary
CVE-2024-36371 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 1.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-36371 is a stored cross-site scripting vulnerability (CWE-79) affecting the Commit status publisher component in JetBrains TeamCity versions prior to 2023.05.6 and 2023.11.5. The flaw carries a CVSS 3.1 base score of 4.6 and stems from insufficient sanitization of data handled by the publisher, allowing persistent script injection into pages served by the TeamCity server.
An authenticated user with low privileges can exploit the issue by supplying crafted input through the Commit status publisher. When the injected payload is later rendered for other users, it executes in their browsers, enabling limited theft or manipulation of session data and page content without requiring user interaction beyond normal viewing.
JetBrains has addressed the vulnerability in the referenced fixed versions listed on its privacy and security issues page; administrators should upgrade affected TeamCity instances to 2023.05.6, 2023.11.5, or later. The associated EPSS score has remained in the moderate range (current 0.5477, peak 0.5943) without a pronounced post-disclosure increase.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-36039
Vulnerability details
In JetBrains TeamCity before 2023.05.6, 2023.11.5 stored XSS in Commit status publisher 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.