WaratekVRT Sign in

CVE-2026-40105 XWiki

Affected softwareXWiki
Severity6.5 Medium CVSS 4.0 2 scores
Fixed in16.10.16, 17.4.8, 17.10.1
WeaknessCWE-80
Published15 Apr 2026
Updated26 Oct 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 0.55% chance in 30 days
IndexArtifactStarsFirst seen
Nuclei XWiki - Cross-Site Scripting

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (commit tier): https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c : a commit: the change itself

CVSS

6.5 MEDIUM v4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 4.0 6.5 MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X security-advisories@github.com Secondary published
CVSS 3.1 6.1 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-web-templates 10.4-rc-1 16.10.16 unbounded
org.xwiki.platform:xwiki-platform-web-templates 17.0.0-rc-1 17.4.8 unbounded
org.xwiki.platform:xwiki-platform-web-templates 17.5.0-rc-1 17.10.1 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-web-templates generic ≥ 10.4 and < 16.10.16 · ≥ 17.0.0 and < 17.4.8 · ≥ 17.5.0 and < 17.10.1
nvd xwiki xwiki generic ≥ 10.4 and < 16.10.16 · ≥ 17.0.0 and < 17.4.8 · ≥ 17.5.0 and < 17.10.1

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-23472 WEB

Timeline

Published2026-04-15By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.