What’s Vulnerable › Vulnerabilities
CVE-2022-23621: Missing authorization in xwiki-platform
- Severity: medium (CVSS 4.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-09 · updated 2026-06-17
- Weakness: CWE-862
Description
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.
Affected products
- xwiki-platform: before 12.10.9; from 13.4 before 13.4.3; from 13.4.4 through 13.7 — fixed in 12.10.9, 13.4.3
How to fix
Upgrade to a fixed version: xwiki-platform 12.10.9, 13.4.3. Check the vendor advisory for mitigations.
References
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://jira.xwiki.org/browse/XWIKI-18870
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://jira.xwiki.org/browse/XWIKI-18870
Get alerted when CVE-2022-23621 or the next vulnerability affects your stack