CVE-2022-23621Xwiki
Medium 4.9
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.9
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 9, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Xwiki.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | < 12.10.9 |
| xwiki | xwiki | ≥ 13.4 < 13.4.3 |
| xwiki | xwiki | ≥ 13.4.4 ≤ 13.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- jira.xwiki.org Patch Vendor Advisory