CVE-2025-12107
published high CVSS 3.1 · 8.4Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WSO2 | — | Identity Server0 to < 5.11.0 (unaffected · custom) · 5.11.0 to < 5.11.0.299 (affected · custom) · 6.0.0 to < 6.0.0.140 (affected · custom) · 6.1.0 to < 6.1.0.122 (affected · custom) · Other versions: unknown | Version-specific | Not stated | WSO2 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- WSO2 · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WSO2 | Identity Server | 0 to < 5.11.0 (unaffected · custom)5.11.0 to < 5.11.0.299 (affected · custom)6.0.0 to < 6.0.0.140 (affected · custom)6.1.0 to < 6.1.0.122 (affected · custom)Default: unknown | WSO2 · cna |
Weaknesses
2- CWE-77 CWE-77: Improper Neutralization of Special Elements used in OS Commands ('OS Command Injection')
- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2WSO2 · cna
Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 41646bf3a562df175eabd770e22e0b29dcfa8ead5044d7e8aeb9f626152d84ef
- Ingested
- 23 Sep 2026, 08:36:37 UTC
- Source record
- Official CVE record