CVE-2025-12107

published 19 Feb 2026 · updated 3 Sep 2026

Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution

8.4HighCVSS 8.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Identity Server 5.11.0.299, Identity Server 6.0.0.140 and Identity Server 6.1.0.122.

The Velocity template engine, utilized by the affected product, accepts and processes template syntax without sufficient sanitization or validation of user-controlled input. This allows an authenticated administrator to inject arbitrary template syntax. Successful exploitation enables an attacker with administrative privileges to execute arbitrary template code on the server. This can lead to significant security consequences, including remote code execution, manipulation of data, and unauthorized access to sensitive information.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2Identity Server>=5.11.0 <5.11.0.299, >=6.0.0 <6.0.0.140, >=6.1.0 <6.1.0.1225.11.0.299, 6.0.0.140, 6.1.0.122

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-12107 severity on Zeptric[![CVE-2025-12107](https://zeptric.io/badge/cve/CVE-2025-12107.svg)](https://zeptric.io/cve/CVE-2025-12107)