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

Summary

CVECVE-2025-12107
StatePUBLISHED
AssignerWSO2
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-02-19 10:16:09 UTC
Updated2026-09-03 14:17:00 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.2 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.006180000 probability, percentile 0.474160000 (date 2026-09-07)

Problem Types: CWE-77 | CWE-94 | CWE-77 CWE-77: Improper Neutralization of Special Elements used in OS Commands ('OS Command Injection') | CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1ed10eef1-636d-4fbe-9993-6890dfa878f8Secondary8.4HIGHCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
3.1CNACVSS8.4HIGHCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Wso2 Identity Server 5.11.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA WSO2 Identity Server unaffected 5.11.0 custom Not specified
CNA WSO2 Identity Server affected 5.11.0 5.11.0.299 custom Not specified
CNA WSO2 Identity Server affected 6.0.0 6.0.0.140 custom Not specified
CNA WSO2 Identity Server affected 6.1.0 6.1.0.122 custom Not specified

References

ReferenceSourceLinkTags
security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO... ed10eef1-636d-4fbe-9993-6890dfa878f8 security.docs.wso2.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Robert C. Raducioiu (en)

Additional Advisory Data

Solutions

CNA: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/#solution

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report