Cyber Resilience

CVE-2024-36371

Medium

Published: 29 May 2024

Published
29 May 2024
Modified
07 February 2025
KEV Added
Patch
CVSS Score v3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
EPSS Score 0.5477 98.1th percentile
Risk Priority 42 60% EPSS · 20% KEV · 20% CVSS

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

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

jetbrains
teamcity
≤ 2023.05.6 · 2023.11 — 2023.11.5

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References