Server-Side Template Injection in XWiki Administration Interface
CVE-2025-51991
What is CVE-2025-51991?
XWiki versions up to 17.3.0 are susceptible to a Server-Side Template Injection vulnerability within the Administration interface. This flaw occurs in the HTTP Meta Info field of the Global Preferences Presentation section. An authenticated administrator can exploit this weakness by injecting malicious Apache Velocity template code, which is subsequently processed by the server without adequate validation or sandboxing measures. Such exploitation can lead to the execution of arbitrary template logic, potentially revealing sensitive internal server data or enabling further attacks, including remote code execution or data leakage. The core issue lies in the inadequate handling of dynamic template rendering based on user input in configuration fields.