CVE-2024-31981
Description
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.
How to fix
- xwiki xwiki14.10.19, 15.5.4, 15.9 or later
- org.xwiki.platform:xwiki-platform-oldcore14.10.20, 15.5.4, 15.10-rc-1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xwiki xwiki | 3.0.1 ≤ v < 14.10.19, 15.0 ≤ v < 15.5.4, 15.6 ≤ v < 15.9 | 14.10.19, 15.5.4, 15.9 |
| org.xwiki.platform:xwiki-platform-oldcoreMaven | 3.0.1 ≤ v < 14.10.20, 15.0-rc-1 ≤ v < 15.5.4, 15.6-rc-1 ≤ v < 15.10-rc-1 | 14.10.20, 15.5.4, 15.10-rc-1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.