# CVE-2025-51991: XWiki through version 17.3.0 is vulnerable to Server-Side Template Injection (SSTI) in the Administration interface, specifically within th…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.15%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-20T00:00:00.000Z
- Modified: 2026-06-17T09:35:55.237Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xwiki xwiki: up to 17.3.0

## References

- <https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.md> (exploit, third-party-advisory)
- <https://xwiki.org> (product)

## Sources

- CVE List: [CVE-2025-51991](https://www.cve.org/CVERecord?id=CVE-2025-51991), CVE Terms of Use, modified 2025-08-20
- NVD: [CVE-2025-51991](https://nvd.nist.gov/vuln/detail/CVE-2025-51991), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-51991 · Whole record: https://cve.day/CVE-2025-51991.json · Rebuilt by cve.day 2026-11-25T22:59:03.416Z
