WSO2 Identity Server
CVE-2025-12107
HIGH
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Admin console is network-accessible with no interaction required, but full admin authentication is mandatory; successful SSTI enables full confidentiality, integrity, and availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
Due to the use of a vulnerable third-party Velocity template engine, a malicious actor with admin privilege may inject and execute arbitrary template syntax within server-side templates.
Successful exploitation of this vulnerability could allow a malicious actor with admin privilege to inject and execute arbitrary template code on the server, potentially leading to remote code execution, data manipulation, or unauthorized access to sensitive information.
AnalysisAI
Server-side template injection via Apache Velocity in WSO2 Identity Server 5.11.0 enables an authenticated administrator to execute arbitrary code on the underlying server. The vulnerability stems from insufficient sandboxing of user-controlled input passed to the Velocity rendering engine in admin-accessible surfaces, allowing template directives to invoke JVM reflection and reach OS-level execution. No public exploit code has been identified at time of analysis; EPSS of 0.44% at the 63rd percentile indicates moderate relative interest but low absolute near-term exploitation probability.
Technical ContextAI
WSO2 Identity Server is an enterprise open-source identity and access management platform widely deployed for SSO, federation, and API security. The affected version (5.11.0, CPE: cpe:2.3:a:wso2:identity_server:5.11.0:*:*:*:*:*:*:*) uses Apache Velocity as a server-side template engine, typically for rendering email notification templates and certain administrative views. CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) identifies the root cause: the application fails to sanitize or sandbox Velocity directives submitted by administrators, permitting constructs such as #set, #evaluate, or class-loading chains that escape the intended rendering context and execute arbitrary JVM code. Apache Velocity's permissive default execution model - which allows reflection-based class instantiation - is a well-documented SSTI escalation path to OS command execution.
RemediationAI
Consult vendor advisory WSO2-2025-4517 at https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/ for the exact patched release version and upgrade instructions - no specific fix version number is independently confirmed in the available data. As a compensating control, restrict admin console access to trusted internal networks or VPN-only segments via firewall rules, reducing the network attack surface despite the existing PR:H requirement. Enforce multi-factor authentication on all administrator accounts to reduce risk from credential-compromise scenarios, which represent the primary realistic attack path. Audit administrator account assignments and apply least-privilege principles to limit the number of accounts that could reach the vulnerable template configuration surfaces. Monitoring admin console activity for unusual template modifications provides detection coverage while a patch is pending.
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c
Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e
Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor
Server-side template injection in Adobe Commerce, Adobe Commerce B2B, and Magento Open Source allows remote unauthentica
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic
A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all
Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio
Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re
Server-side template injection in the TYPO3 'Powermail' extension lets an anonymous user submit Fluid template syntax th
Code injection in Orval before 8.21.0 lets an attacker-controlled OpenAPI v3 or Swagger v2 specification execute arbitra
Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb
Share
External POC / Exploit Code
Leaving vuln.today