CVE-2025-51991

HIGH NUCLEI

XWiki < 17.3.0 - Authenticated Server-Side Template Injection in HTTP Meta Info Field

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2025-51991 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.

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.

Nuclei Templates (1)

XWiki <= 17.3.0 - Server-Side Template Injection (SSTI)
CRITICALVERIFIEDby 0x_Akoko
Shodan: http.html:"data-xwiki-reference"
FOFA: body="data-xwiki-reference"

References (2)

Core 2

Scores

CVSS v3 8.8
EPSS 0.0365
EPSS Percentile 88.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-94 CWE-79
Status published
Products (1)
xwiki/xwiki < 17.3.0
Published Aug 20, 2025
Tracked Since Feb 18, 2026