CVE-2024-31981

HIGHCVSS 8.8/10EPSS 1.45%

Last modified

CVE-2024-31981 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.45% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.45%

70.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
XwikiXwiki>= 3.0.1, < 14.10.19
XwikiXwiki>= 15.0, < 15.5.4
XwikiXwiki>= 15.6, < 15.9

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2024-31981?
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 severe is CVE-2024-31981?
CVE-2024-31981 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 1.45% probability of exploitation in the next 30 days.
How do I fix CVE-2024-31981?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-31981?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST