Lucene search
+L

JetBrains TeamCity < 2021.2.2 XSS (CVE-2022-25261)

🗓️ 25 Aug 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

Reflected XSS in JetBrains TeamCity before 2021.2.2 enabling partial integrity compromise.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2022-25261
25 Feb 202220:15
attackerkb
cnnvd
CNNVD
JetBrains TeamCity 跨站脚本漏洞
25 Feb 202200:00
cnnvd
cnvd
CNVD
JetBrains TeamCity Cross-Site Scripting Vulnerability (CNVD-2022-17755)
1 Mar 202200:00
cnvd
cve
CVE
CVE-2022-25261
25 Feb 202219:59
cve
cvelist
Cvelist
CVE-2022-25261
25 Feb 202219:59
cvelist
euvd
EUVD
EUVD-2022-29958
3 Oct 202520:07
euvd
nvd
NVD
CVE-2022-25261
25 Feb 202220:15
nvd
osv
OSV
CVE-2022-25261
25 Feb 202220:15
osv
prion
Prion
Cross site scripting
25 Feb 202220:15
prion
redhatcve
RedhatCVE
CVE-2022-25261
23 May 202500:05
redhatcve
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(339334);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/08/25");

  script_cve_id("CVE-2022-25261");

  script_name(english:"JetBrains TeamCity < 2021.2.2 XSS (CVE-2022-25261)");

  script_set_attribute(attribute:"synopsis", value:
"The instance of JetBrains TeamCity installed on the remote host is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of JetBrains TeamCity installed on the remote host is prior to 2021.2.2. It is, therefore, affected by a
vulnerability:

  - JetBrains TeamCity before 2021.2.2 was vulnerable to reflected XSS. (CVE-2022-25261)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://www.jetbrains.com/privacy-security/issues-fixed/?product=TeamCity&version=2021.2.2
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?23051816");
  script_set_attribute(attribute:"solution", value:
"Upgrade to JetBrains TeamCity version 2021.2.2 or later.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-25261");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2022/02/17");
  script_set_attribute(attribute:"patch_publication_date", value:"2022/02/17");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/08/25");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:jetbrains:teamcity");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("jetbrains_teamcity_web_detect.nbin", "jetbrains_teamcity_win_installed.nbin", "jetbrains_teamcity_nix_installed.nbin");
  script_require_keys("installed_sw/JetBrains TeamCity");

  exit(0);
}

include('vdf.inc');

# @tvdl-content-verify-only
var vuln_data = {
  "metadata": {
    "spec_version": "1.0"
  },
  "checks": [
    {
      "product": {
        "name": "JetBrains TeamCity",
        "type": "app"
      },
      "check_algorithm": "default",
      "constraints": [
        {
          "fixed_version": "2021.2.2"
        }
      ]
    }
  ]
};

var vdf_result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_WARNING, flags:{"xss": "TRUE"});
vdf::handle_check_and_report_errors(vdf_result:vdf_result);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Aug 2026 00:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 24.3
CVSS 3.16.1
EPSS0.00568
4