CVE-2025-51991
Last modified
CVE-2025-51991 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 3.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Xwiki | <= 17.3.0 |
References
- https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.mdExploit, Third Party Advisory
- https://xwiki.orgProduct
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-51991?
How severe is CVE-2025-51991?
How do I fix CVE-2025-51991?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-51972A SQL Injection vulnerability exists in the login.php of Pun…6.5
- CVE-2025-5198A flaw was found in Stackrox, where it is vulnerable to Cros…5.4
- CVE-2025-51986An issue was discovered in the demo/LINUXTCP implementation …7.5
- CVE-2025-51989HTML injection vulnerability in the registration interface i…7
- CVE-2025-5199In Canonical Multipass up to and including version 1.15.1 on…7.8
- CVE-2025-51990XWiki through version 17.3.0 is affected by multiple stored …4.8
- CVE-2025-5200A vulnerability was found in Open Asset Import Library Assim…7.8
- CVE-2025-5201A vulnerability was found in Open Asset Import Library Assim…7.8
- CVE-2025-5202A vulnerability was found in Open Asset Import Library Assim…7.8
- CVE-2025-52021A SQL Injection vulnerability exists in the edit_product.php…9.8
- CVE-2025-52022A vulnerability in the PHP backend of gemsloyalty.aptsys.com…5.3
- CVE-2025-52023A vulnerability in the PHP backend of gemscms.aptsys.com.sg …5.3
Are you affected by CVE-2025-51991?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
