---
id: CVE-2025-12107
title: >-
  The Velocity template engine, utilized by the affected product, accepts and
  processes template syntax without sufficient sanitization or validation of
  user-controlled input
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 …
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-77
  - CWE-94
vendor: wso2
product: identity_server
affected:
  - identity_server = 5.11.0
published: '2026-02-19'
updated: '2026-09-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12107'
references:
  - url: >-
      https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/
    label: ed10eef1-636d-4fbe-9993-6890dfa878f8
tags:
  - nvd
epss: 0.00649
epssPercentile: 0.49008
ingestedAt: '2026-09-03T15:04:37.601Z'
---

## Overview

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

- `identity_server = 5.11.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
