Skip to main content
← All vulnerabilities
CVE-2025-12107

Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.11.0.299, 6.0.0.140, 6.1.0.122
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • WSO2 Identity Server

    From 5.11.0 · fixed in 5.11.0.299; From 6.0.0 · fixed in 6.0.0.140; From 6.1.0 · fixed in 6.1.0.122

References 1

security.docs.wso2.com