CVE-2025-12107
JSON

8.4high

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

Severity
8.4high CVSS:3.1 by WSO2
Exploit likelihood
0.69% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
WSO2 Identity Serverfrom 5.11.0 before 5.11.0.299, from 6.0.0 before 6.0.0.140, from 6.1.0 before 6.1.0.122
Not affected: before 5.11.0
CVE List
wso2 identity_server5.11.0NVD

All scores

WSO28.4high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-77CWE-94

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Debido al uso de un motor de plantillas Velocity de terceros vulnerable, un actor malicioso con privilegios de administrador puede inyectar y ejecutar sintaxis de plantilla arbitraria dentro de plantillas del lado del servidor. La explotación exitosa de esta vulnerabilidad podría permitir a un actor malicioso con privilegios de administrador inyectar y ejecutar código de plantilla arbitrario en el servidor, lo que podría llevar a la ejecución remota de código, manipulación de datos o acceso no autorizado a información sensible.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12107 changed 2026-09-03CVE Terms of Use
NVDCVE-2025-12107 changed 2026-09-03Public domain