Skip to content
Fencer Vulns
critical 9.7

CVE-2023-35158 json

XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in restore template

published 2023-06-22 3 y ago modified 2026-09-10 1 mo ago also GHSA-mwxj-g7fw-7hc8 , EUVD-2023-1847

cvss
9.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known, plus a Nuclei check

Summary

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the restore template to perform a XSS, e.g. by using URL such as: > /xwiki/bin/view/XWiki/Main?xpage=restore&showBatch=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 9.4-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.

Patch / fix

  • maven org.xwiki.platform:xwiki-platform-flamingo-skin-resources 14.10.5, 15.1-rc-1
  • xwiki xwiki 14.10.5

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
23 mo ago

Exploit prediction

2.05% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
CNA 3.1 9.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.xwiki.platform:xwiki-platform-flamingo-skin-resources
>=9.4-rc-1, <14.10.5
>=15.0-rc-1, <15.1-rc-1
14.10.5
15.1-rc-1

Affected products

  • xwiki xwiki-platform

Classification

Weakness
  • CWE-87 Improper Neutralization of Alternate XSS Syntax

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.