Missing Authorization in XWiki platform - CVE-2024-31981
Published: April 10, 2024 / Updated: May 5, 2026
XWiki platform
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to missing authorization in PDF export templates when processing a user-supplied PDF template. A remote user can register a user account with the username PDFClass and define a crafted style property to execute arbitrary code.
Exploitation requires that XWiki.PDFClass does not already exist.