CVE-2025-51991
XWiki <= 17.3.0 - Server-Side Template Injection (SSTI)
Record summary
CVE-2025-51991 has a selected CVSS score of 8.8 (high); EIP currently links 1 Nuclei template.
Description
XWiki through version 17.3.0 is vulnerable to Server-Side Template Injection (SSTI) in the Administration interface, specifically within the HTTP Meta Info field of the Global Preferences Presentation section. An authenticated administrator can inject crafted Apache Velocity template code, which is rendered on the server side without proper validation or sandboxing. This enables the execution of arbitrary template logic, which may expose internal server information or, in specific configurations, lead to further exploitation such as remote code execution or sensitive data leakage. The vulnerability resides in improper handling of dynamic template rendering within user-supplied configuration fields.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 20, 2025 · Source: CVE List
Nuclei templates
1ProjectDiscoveryCRITICALXWiki <= 17.3.0 - Server-Side Template Injection (SSTI)CVSS 9.1
XWiki <= 17.3.0 contains a server-side template injection caused by improper validation of Apache Velocity template code in the Administration interface HTTP Meta Info field, letting authenticated administrators execute arbitrary template logic.
Impact
Authenticated administrators can execute arbitrary template logic, potentially exposing internal server information or enabling remote code execution.
Remediation
Update to a version later than 17.3.0 or the latest available version.
Source: ProjectDiscovery