CVE-2025-51991 Details
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.
A Server-Side Template Injection (SSTI) vulnerability has been identified in XWiki versions through 17.3.0. This issue exists in the Administration interface, specifically within the HTTP Meta Info field of the Global Preferences Presentation section. The vulnerability allows authenticated administrators to inject crafted Apache Velocity template code, which is executed on the server side without adequate validation or sandboxing. Exploitation of this vulnerability could expose internal server information or, in certain configurations, lead to remote code execution or leakage of sensitive data.
Users are advised to update to XWiki versions 17.4.3 or 16.10.10, both of which include security fixes for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.md | [email protected] | ExploitThird Party Advisory |
| https://xwiki.org | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| xwiki xwiki | <= 17.3.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2025 | Initial Analysis | [email protected] |
| Aug 20, 2025 | CVE Modified | CISA-ADP |
| Aug 20, 2025 | New CVE Received | [email protected] |