Live threats

All CVEs / Xwiki

CVE-2022-23621Xwiki

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
—
Auth required
Yes
Published
Feb 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862, CWE-552
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as `$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")`. This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.xwiki.platform:xwiki-platform-oldcore ≥ 13.6-rc-1 < 13.7-rc-1 13.7-rc-1 —
Maven org.xwiki.platform:xwiki-platform-oldcore ≥ 13.0.0 < 13.4.3 13.4.3 —
Maven org.xwiki.platform:xwiki-platform-oldcore < 12.10.9 12.10.9 —

Per OSV / GitHub Advisories (GHSA-2jhm-qp48-hv5j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xwikixwiki< 12.10.9
xwikixwiki≥ 13.4 < 13.4.3
xwikixwiki≥ 13.4.4 ≤ 13.7

Official sources

References

Links published by the sources. Open them with care.