WSO2 Identity Server
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.11.0, < 5.11.0.299
- >= 6.0.0, < 6.0.0.140
- >= 6.1.0, < 6.1.0.122
Fixed in 0, 5.11.0.299, 6.0.0.140, 6.1.0.122
Mitigation
Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/#solution
References
- Vendor advisory security.docs.wso2.com/en/latest/security-announcements/se…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.