CVE-2024-31981Xwiki
High 8.8
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- Auth required
- Yes
- Published
- Apr 10, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, remote code execution is possible via PDF export templates. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10-rc-1. If PDF templates are not typically used on the instance, an administrator can create the document `XWiki.PDFClass` and block its edition, after making sure that it does not contain a `style` attribute. Otherwise, there are no known workarounds aside from upgrading.
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 |
≥ 3.0.1 < 14.10.20 |
14.10.20 |
— |
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 15.0-rc-1 < 15.5.4 |
15.5.4 |
— |
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 15.6-rc-1 < 15.10-rc-1 |
15.10-rc-1 |
— |
Per OSV / GitHub Advisories (GHSA-vxwr-wpjv-qjq7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | ≥ 3.0.1 < 14.10.19 |
| xwiki | xwiki | ≥ 15.0 < 15.5.4 |
| xwiki | xwiki | ≥ 15.6 < 15.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- jira.xwiki.org Exploit Vendor Advisory