Vulnerability · Published Apr 15, 2026 · Assigned by GitHub_M

CVE-2026-40105XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality

Medium 6.5

In plain English

A medium-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.5Medium
Exploit odds (30 days)0.5%top 53.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 10.4-rc-1, through 16.10.15, 17.0.0-rc-1, through 17.4.7 and 17.5.0-rc-1 through 17.10.0 contain a reflected cross-site scripting vulnerability (XSS) in the comparison view between revisions of a page allows executing JavaScript code in the user's browser. If the current user is an admin, this can not only affect the current user but also the confidentiality, integrity and availability of the whole XWiki instance. If developers are unable to update immediately, they can apply the patch manually to templates/changesdoc.vm in the deployed WAR.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-web-templates16.10.16GHSA-w4fj-87j5-f25c
Mavenorg.xwiki.platform:xwiki-platform-web-templates17.4.8GHSA-w4fj-87j5-f25c
Mavenorg.xwiki.platform:xwiki-platform-web-templates17.10.1GHSA-w4fj-87j5-f25c

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 10.4-rc-1, < 16.10.16>= 17.0.0-rc-1, < 17.4.8>= 17.5.0-rc-1, < 17.10.1

Weakness: CWE-80 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

References