CVE-2025-12107: Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-12107?
CVE-2025-12107 is considered a critical vulnerability due to its potential for unauthenticated remote code execution.
How do I fix CVE-2025-12107?
To fix CVE-2025-12107, upgrade to WSO2 Identity Server version 5.11.1 or later where this vulnerability has been addressed.
What are the consequences of exploiting CVE-2025-12107?
Exploiting CVE-2025-12107 may allow an authenticated attacker to execute arbitrary code on the server by manipulating server-side templates.
Who is affected by CVE-2025-12107?
CVE-2025-12107 affects users of WSO2 Identity Server version 5.11.0 that use the vulnerable Velocity template engine.
What is Server-Side Template Injection in the context of CVE-2025-12107?
In the context of CVE-2025-12107, Server-Side Template Injection occurs when an attacker is able to inject and execute malicious template code on the server.