CVE-2025-51991HIGH 8.8EPSS p87.2%

CVE-2025-51991CVE-2025-51991

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.

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS3.37% probability of exploitation · percentile 87.2% · 2026-06-18T12:00:27Z
Published2025-08-20
Last modified2025-09-11

Underlying weaknesses· 2

CWE-79CWE-94

References

  1. https://github.com/malcxlmj/cve-writeups/blob/main/CVE-2025-51991.md
  2. https://xwiki.org

2

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')cwe-790%live
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-49587
CVE
CVE-2025-66474
CVE
CVE-2025-55729
CVE
CVE-2025-55727
CVE
CVE-2025-49581
CVE
CVE-2025-53835
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.