CVE-2026-40105: 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.
CVE-2026-40105 · Severity: medium · CVSS 6.1 · Published 2026-04-15
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.
Yes. org.xwiki.platform:xwiki-platform-web-templates (Maven): upgrade to 16.10.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-40105?
Check whether you run org.xwiki.platform:xwiki-platform-web-templates (Maven) or Xwiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.xwiki.platform:xwiki-platform-web-templates (Maven): upgrade to 16.10.16 or later
# set org.xwiki.platform:xwiki-platform-web-templates to 16.10.16 in your pom.xml or build.gradle