Skip to content

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

HighCVSS 7.2 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
WSO2 identity server = 5.11.0; >= 5.11.0, < 5.11.0.299; >= 6.0.0, < 6.0.0.140; >= 6.1.0, < 6.1.0.122 5.11.0.299, 6.0.0.140, 6.1.0.122 Fixed

Affected products

ProductAffected versionsFixed in
WSO2 identity server >= 5.11.0, < 5.11.0.299 5.11.0.299
WSO2 identity server >= 6.0.0, < 6.0.0.140 6.0.0.140
WSO2 identity server >= 6.1.0, < 6.1.0.122 6.1.0.122
WSO2 identity server = 5.11.0 No fix listed

References