← Vulnerability feed

Vulnerability record · CVE-2023-41249 · published 25 August 2023

CVE-2023-41249: JetBrains TeamCity reflected XSS in Build Step copying

Jetbrains · Teamcity

JetBrains TeamCity before 2023.05.3 is vulnerable to reflected cross-site scripting during the copying of a Build Step. Because the flaw is reflected and requires a victim to interact, it matters mainly as a way to run script in a logged-in user's browser session.

6.1 CVSS 3.1 Medium EPSS 56% · top 1.0% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
56%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

In JetBrains TeamCity before 2023.05.3 reflected XSS was possible during copying Build Step

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

medium priorityCVSS rates it medium (6.1) and it requires user interaction, but the very high EPSS percentile warrants prompt patching.

What it is

JetBrains TeamCity before 2023.05.3 is vulnerable to reflected cross-site scripting during the copying of a Build Step. Because the flaw is reflected and requires a victim to interact, it matters mainly as a way to run script in a logged-in user's browser session.

Impact

An attacker can execute arbitrary script in the context of a TeamCity user's browser, potentially stealing session data or performing actions as that user. The CVSS scope change indicates the impact can extend beyond the vulnerable component.

Attack surface

Reached over the network via a crafted request tied to the Build Step copy function; no authentication is required by the attacker, but the victim must interact with a malicious link or page (UI:R).

Exploitation

Not listed in CISA KEV and no public exploit references are provided, but EPSS is high at roughly 0.555 (99th percentile), suggesting elevated likelihood of exploitation activity.

What to do

  • Upgrade TeamCity to 2023.05.3 or later, which the vendor states fixes this issue.
  • If immediate upgrade is not possible, restrict network access to the TeamCity web interface to trusted users and networks.
  • Instruct users not to follow untrusted links into TeamCity and to log out of sessions when not in use.
  • Apply output encoding and input validation for the Build Step copy functionality if customizing or extending the product.

Detection

  • Review TeamCity web access logs for requests to Build Step copy endpoints containing script-like payloads or unusual encoded characters.
  • Monitor for anomalous authenticated actions or session activity following visits to crafted TeamCity URLs.
  • Check browser or proxy logs for reflected script content in responses from the TeamCity interface.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-41249 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-63077JetBrains TeamCity unauthenticated RCE via agent polling deserializationJetBrains TeamCity before 2026.1.3 and 2025.11.7 deserializes untrusted data received through the agent polling protocol, allowing unauthenticated re…KEVEPSS 9.8%analysed9.8CVE-2024-27198JetBrains TeamCity authentication bypass allows admin actionsJetBrains TeamCity before 2023.11.4 contains an authentication bypass via an alternate path (CWE-288), letting an unauthenticated attacker reach func…KEVEPSS 100%analysed9.8CVE-2023-42793JetBrains TeamCity authentication bypass leads to remote code executionJetBrains TeamCity before 2023.05.4 contains an authentication bypass via an alternate path, classified as CWE-288 and CWE-306, that allows an unauth…KEVEPSS 100%analysed7.3CVE-2024-27199JetBrains TeamCity path traversal enables limited admin actionsJetBrains TeamCity before 2023.11.4 is vulnerable to relative path traversal that lets an unauthenticated remote party perform limited administrative…KEVEPSS 100%analysed10.0CVE-2026-65906Jetbrains teamcity code injection vulnerabilityIn JetBrains TeamCity before 2026.1.2, 2025.11.6 сode execution via Kotlin DSL sandbox escape was possibleEPSS 0.66%9.8CVE-2025-54530Jetbrains teamcity incorrect default permissions vulnerabilityIn JetBrains TeamCity before 2025.07 privilege escalation was possible due to incorrect directory permissionsEPSS 0.18%9.8CVE-2025-46433Jetbrains teamcity relative path traversal vulnerabilityIn JetBrains TeamCity before 2025.03.1 improper path validation in loggingPreset parameter was possibleEPSS 0.55%9.8CVE-2024-41827Jetbrains teamcity insufficient session expiration vulnerabilityIn JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expirationEPSS 0.40%

Source: NIST National Vulnerability Database (record CVE-2023-41249), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.