CVE-2025-51991
highpriority · track · 1EPSS 0.037 · 90 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1880xwiki: Mehrere SchwachstellenDeutsch2025-08-20csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer mit Administratorrechten kann mehrere Schwachstellen in xwiki ausnutzen, um eine Cross-Site-Scripting-Attacke zu starten, beliebigen Code auszuführen oder vertrauliche Informationen offenzulegen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-51991cnnvd
- https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.mdcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-51991cnnvd
- https://www.xwiki.org/xwiki/bin/view/Main/WebHomePatchcnnvd
- https://xwiki.orgcnnvd
- https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.mdenisa_euvd
- https://xwiki.orgenisa_euvd
- https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.mdExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan