A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-24459

CVE-2025-24459: JetBrains TeamCity XSS Vulnerability

CVE-2025-24459 is a reflected cross-site scripting flaw in JetBrains TeamCity affecting the Vault Connection page. This vulnerability allows attackers to inject malicious scripts. This article covers technical details, affected versions, impact, and mitigation steps.

Updated: January 22, 2026

CVE-2025-24459 Overview

CVE-2025-24459 is a reflected Cross-Site Scripting (XSS) vulnerability affecting JetBrains TeamCity, a popular continuous integration and continuous deployment (CI/CD) server used by development teams worldwide. The vulnerability exists in the Vault Connection page, where user-supplied input is improperly handled and reflected back to users without adequate sanitization, enabling attackers to inject and execute arbitrary JavaScript code in the context of a victim's browser session.

Critical Impact

Attackers can exploit this XSS vulnerability to steal session cookies, hijack user accounts, perform actions on behalf of authenticated users, or redirect users to malicious websites. In CI/CD environments, this could lead to supply chain compromise or unauthorized access to build pipelines.

Affected Products

  • JetBrains TeamCity versions prior to 2024.12.1

Discovery Timeline

  • 2025-01-21 - CVE CVE-2025-24459 published to NVD
  • 2025-01-30 - Last updated in NVD database

Technical Details for CVE-2025-24459

Vulnerability Analysis

This reflected XSS vulnerability (CWE-79) affects the Vault Connection page in JetBrains TeamCity. The vulnerability allows an attacker to craft a malicious URL containing JavaScript code that, when clicked by an authenticated user, executes within that user's browser session. The attack requires user interaction—specifically, a victim must click a maliciously crafted link.

The scope of the vulnerability extends beyond the vulnerable component itself, potentially affecting other resources and sessions within the same security context. An attacker can leverage this vulnerability to access sensitive information displayed in the TeamCity interface or perform unauthorized actions with the privileges of the authenticated victim.

Root Cause

The root cause of CVE-2025-24459 is insufficient input validation and output encoding on the Vault Connection page. When user-supplied data is processed and reflected back in the HTTP response, the application fails to properly sanitize or encode special characters that could be interpreted as HTML or JavaScript code. This allows malicious scripts embedded in request parameters to be executed in the victim's browser.

Attack Vector

The attack is network-based and requires an attacker to convince a victim to click on a specially crafted URL. The typical attack flow involves:

  1. An attacker identifies the vulnerable parameter on the Vault Connection page
  2. The attacker crafts a malicious URL containing JavaScript payload in the vulnerable parameter
  3. The attacker delivers this URL to the victim through phishing emails, social engineering, or other means
  4. When the victim (authenticated TeamCity user) clicks the link, the malicious script executes in their browser
  5. The script can then steal session tokens, perform CSRF attacks, or exfiltrate sensitive data

The vulnerability does not require any privileges to exploit, though it does require user interaction. The impact includes potential compromise of session confidentiality and integrity, particularly dangerous in CI/CD environments where TeamCity may have access to source code repositories, build artifacts, and deployment credentials.

Detection Methods for CVE-2025-24459

Indicators of Compromise

  • Review web server access logs for suspicious requests to the Vault Connection page containing encoded script tags or JavaScript event handlers
  • Monitor for unusual URL parameters containing characters like <, >, script, javascript:, or URL-encoded variants
  • Check for anomalous session activity following clicks on external links by TeamCity users

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block common XSS payload patterns in requests to TeamCity
  • Implement Content Security Policy (CSP) headers to restrict script execution sources and mitigate XSS impact
  • Enable detailed logging for authentication events and monitor for session hijacking indicators
  • Use browser-based endpoint protection that can detect and block reflected XSS attacks

Monitoring Recommendations

  • Configure SIEM alerts for requests containing XSS-related patterns targeting TeamCity endpoints
  • Monitor outbound connections from user browsers accessing TeamCity for data exfiltration attempts
  • Track and alert on unusual administrative actions in TeamCity that may indicate compromised sessions
  • Regularly audit access patterns to the Vault Connection page for anomalies

How to Mitigate CVE-2025-24459

Immediate Actions Required

  • Upgrade JetBrains TeamCity to version 2024.12.1 or later immediately
  • Review TeamCity access logs for any signs of exploitation attempts
  • Educate users about the risks of clicking untrusted links, especially those pointing to internal systems
  • Consider implementing additional network segmentation to limit exposure of TeamCity instances

Patch Information

JetBrains has addressed this vulnerability in TeamCity version 2024.12.1. Organizations should upgrade to this version or later as soon as possible. For detailed information about this and other security fixes, refer to the JetBrains Security Issues Fixed page.

Workarounds

  • Restrict access to TeamCity to trusted networks only using firewall rules or VPN requirements
  • Implement a reverse proxy with XSS filtering capabilities in front of TeamCity
  • Deploy Content Security Policy headers to limit the impact of any successful XSS exploitation
  • Consider disabling or restricting access to the Vault Connection functionality until the patch can be applied
bash
# Example: Content Security Policy header configuration for Apache
# Add to TeamCity virtual host configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechJetbrains Teamcity

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability4.89%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • JetBrains Security Issues Fixed
  • Related CVEs
  • CVE-2026-49375: JetBrains TeamCity XSS Vulnerability

  • CVE-2026-49381: JetBrains TeamCity XSS Vulnerability

  • CVE-2026-49371: JetBrains TeamCity XSS Vulnerability

  • CVE-2026-49373: JetBrains TeamCity RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English