Skip to content

xwiki-platform

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

CVE-2026-40105Published 15 Apr 2026, 00:07 UTC

Real-world risk

2.1/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
xwiki-platformCommon>= 10.4-rc-1, < 16.10.16; >= 17.0.0-rc-1, < 17.4.8; >= 17.5.0-rc-1, < 17.10.116.10.16, 17.4.8, 17.10.1

What to do

Update to a fixed version: 16.10.16, 17.4.8, 17.10.1.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)

EPSS 0.6% chance of exploitation in 30 days (percentile 48), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.3 × prerequisites 0.7 × threat 12.100
  4. Rounded to one decimal between 0.1 and 102.1

How the score works

Exploitation and evidence timeline

  1. 15 Apr 2026 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Risk 2.1 (cvss fallback)

Weakness

CWE-80

References

Get alerts for xwiki-platform

Free email or text alerts when a vulnerability in xwiki-platform reaches risk 8 or higher. Nothing else.