CVE-2024-35302
Published: 16 May 2024
Summary
CVE-2024-35302 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jetbrains Teamcity. Its CVSS base score is 5.4 (Medium).
Operationally, ranked at the 36.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-35302 is a stored cross-site scripting vulnerability (CWE-79) that affected JetBrains TeamCity versions prior to 2023.11. The flaw resided in the backup restore process, allowing attacker-controlled content to be stored and later rendered in users' browsers when the restore operation was performed.
An unauthenticated remote attacker could supply a malicious backup archive that, upon restoration, executes arbitrary script in the context of a TeamCity user who views the restored data. The CVSS 5.4 rating reflects network attack vector, low complexity, no required privileges, and required user interaction, resulting in limited impacts to confidentiality and integrity without affecting availability.
JetBrains addressed the issue in the 2023.11 release; the vendor advisory at https://www.jetbrains.com/privacy-security/issues-fixed/ recommends upgrading affected installations to that version or later to eliminate the stored XSS vector.
The associated EPSS score rose sharply from a low baseline to a peak of 0.5359 on 2026-05-20 before receding to the current value of 0.0016, indicating a period of elevated exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-35273
Vulnerability details
In JetBrains TeamCity before 2023.11 stored XSS during restore from backup 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.