Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
Key facts
- Attack vector
- Adjacent network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WSO2 | Identity Server | 5.11.0 to before 5.11.0.299; 6.0.0 to before 6.0.0.140; 6.1.0 to before 6.1.0.122 | 5.11.0.299, 6.0.0.140, 6.1.0.122 | Patch available | CNA |
- Identity Server VendorWSO2 Affected 5.11.0 to before 5.11.0.299; 6.0.0 to before 6.0.0.140; 6.1.0 to before 6.1.0.122 Fixed in 5.11.0.299, 6.0.0.140, 6.1.0.122 Patch available CNA
Remediation
- Fix · CNA Identity Server (WSO2) Fixed in 5.11.0.299, 6.0.0.140, 6.1.0.122
Timeline
- 2026-10-02 Threatist record created from CVE-2025-12107
- 2026-10-03 Alias added: GHSA-8v9w-wqxw-hp8g
- 2026-10-18 EPSS moved to the 50th–90th percentile
References
More WSO2 Identity Server vulnerabilities
- TI-2022-11928 Certain WSO2 products allow unrestricted file upload with resultant remote code execution. KEVCVSS 3.1CRITICAL 9.8
- TI-2022-12002 A reflected XSS issue exists in the Management Console of several WSO2 products. CVSS 3.1MEDIUM 6.1
- TI-2018-06290 WSO2 Identity Server before 5.5.0 has XSS via the dashboard, allowing attacks by low-privileged attackers. CVSS 3.0MEDIUM 5.4
- TI-2025-13722 Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products CVSS 3.1CRITICAL 9.4
- TI-2025-09712 Potential Broken Access Control in Multiple WSO2 Products via System REST APIs CVSS 3.1CRITICAL 9.8
- TI-2024-06413 Incorrect Authorization in Multiple WSO2 Products via Account Recovery SOAP Admin Service Leading to Account Takeover CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-12107 · CVE Program
- CVE-2025-12107 · NVD
- FIRST EPSS
- GHSA-8v9w-wqxw-hp8g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences