Lucene search
+L

XWiki Missing CSRF Protection Vulnerability (GHSA-v9j2-q4q5-cxh4)

🗓️ 05 Jul 2021 00:00:00Reported by Copyright (C) 2021 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 20 Views

XWiki Missing CSRF Protection Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-32730
1 Jul 202118:15
attackerkb
cnnvd
CNNVD
Xwiki Platform 跨站请求伪造漏洞
1 Jul 202100:00
cnnvd
cnvd
CNVD
XWiki Platform cross-site request forgery vulnerability
2 Jul 202100:00
cnvd
cve
CVE
CVE-2021-32730
1 Jul 202117:30
cve
cvelist
Cvelist
CVE-2021-32730 No CSRF protection on the password change form
1 Jul 202117:30
cvelist
euvd
EUVD
EUVD-2021-1492
7 Oct 202500:30
euvd
github
Github Security Blog
No CSRF protection on the password change form
2 Jul 202119:19
github
nvd
NVD
CVE-2021-32730
1 Jul 202118:15
nvd
osv
OSV
GHSA-V9J2-Q4Q5-CXH4 No CSRF protection on the password change form
2 Jul 202119:19
osv
prion
Prion
Cross site request forgery (csrf)
1 Jul 202118:15
prion
Rows per page
# SPDX-FileCopyrightText: 2021 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:xwiki:xwiki";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.146216");
  script_version("2026-01-29T08:35:42+0000");
  script_tag(name:"last_modification", value:"2026-01-29 08:35:42 +0000 (Thu, 29 Jan 2026)");
  script_tag(name:"creation_date", value:"2021-07-05 03:12:45 +0000 (Mon, 05 Jul 2021)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2021-07-09 13:58:00 +0000 (Fri, 09 Jul 2021)");

  script_cve_id("CVE-2021-32730");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("XWiki Missing CSRF Protection Vulnerability (GHSA-v9j2-q4q5-cxh4)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2021 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_xwiki_http_detect.nasl");
  script_mandatory_keys("xwiki/detected");

  script_tag(name:"summary", value:"XWiki is missing CSRF protection on the password change form.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"impact", value:"It's possible to forge an URL that, when accessed by an admin,
  will reset the password of any user in XWiki.");

  script_tag(name:"affected", value:"XWiki versions prior to 12.10.5 and versions 13.0 and 13.1.");

  script_tag(name:"solution", value:"Update to version 12.10.5, 13.2 or later.");

  script_xref(name:"URL", value:"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v9j2-q4q5-cxh4");
  script_xref(name:"URL", value:"https://jira.xwiki.org/browse/XWIKI-18315");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_is_less(version: version, test_version: "12.10.5")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "12.10.5", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

# nb: To not match versions like 13.10 which would cause a false positive otherwise
if (version =~ "^13\.[01]($|\.)") {
  report = report_fixed_ver(installed_version: version, fixed_version: "13.2", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

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

29 Jan 2026 00:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 24.3
CVSS 3.15.7
EPSS0.0061
20