CVE-2025-12107
Template Injection Vulnerability in Velocity Engine Enables Remote Code Execution
Publication date: 2026-02-19
Last updated on: 2026-03-06
Assigner: WSO2 LLC
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wso2 | identity_server | 5.11.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-1336 | The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability arises from the use of a vulnerable third-party Velocity template engine. It allows a malicious actor who already has admin privileges to inject and execute arbitrary template syntax within server-side templates.
By exploiting this flaw, the attacker can run arbitrary template code on the server, which can lead to serious security issues such as remote code execution, data manipulation, or unauthorized access to sensitive information.
How can this vulnerability impact me? :
The impact of this vulnerability can be severe. An attacker with admin privileges could execute arbitrary code on the server remotely, manipulate data, or gain unauthorized access to sensitive information.
- Remote code execution on the server
- Data manipulation
- Unauthorized access to sensitive information
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know