Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12107: CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine in WSO2 WSO2 Identity Server

0
High
VulnerabilityCVE-2025-12107cvecve-2025-12107cwe-1336
Published: Thu Feb 19 2026 (02/19/2026, 10:04:47 UTC)
Source: CVE Database V5
Vendor/Project: WSO2
Product: WSO2 Identity Server

Description

Due to the use of a vulnerable third-party Velocity template engine, a malicious actor with admin privilege may inject and execute arbitrary template syntax within server-side templates. Successful exploitation of this vulnerability could allow a malicious actor with admin privilege to inject and execute arbitrary template code on the server, potentially leading to remote code execution, data manipulation, or unauthorized access to sensitive information.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/07/2026, 20:44:09 UTC

Technical Analysis

CVE-2025-12107 is a vulnerability identified in WSO2 Identity Server version 5.11.0.130, stemming from the use of a vulnerable third-party Velocity template engine. The root cause is improper neutralization of special elements used in the template engine (CWE-1336), which allows a malicious actor with administrative privileges to inject arbitrary template syntax into server-side templates. This injection can lead to the execution of arbitrary template code on the server, potentially enabling remote code execution (RCE). The vulnerability impacts the confidentiality, integrity, and availability of the affected system by allowing unauthorized data access, data manipulation, and disruption of services. Exploitation requires administrative privileges but does not require user interaction, increasing the risk in environments where admin accounts may be compromised or misused. The vulnerability has a CVSS v3.1 base score of 8.4, reflecting high severity with attack vector as adjacent network (AV:A), low attack complexity (AC:L), high privileges required (PR:H), no user interaction (UI:N), and scope changed (S:C). Although no known exploits are currently reported in the wild, the potential impact and ease of exploitation by an insider or attacker with admin access make this a critical issue for organizations relying on WSO2 Identity Server for identity and access management.

Potential Impact

The impact of CVE-2025-12107 is significant for organizations using WSO2 Identity Server 5.11.0.130. Successful exploitation can lead to remote code execution, allowing attackers to run arbitrary code on the server, which can compromise the entire identity management infrastructure. This can result in unauthorized access to sensitive user data, manipulation of authentication and authorization processes, and potential lateral movement within the network. The integrity of identity data and authentication workflows can be compromised, leading to trust violations and potential data breaches. Availability may also be affected if attackers disrupt identity services or execute denial-of-service conditions. Given the central role of identity servers in enterprise security, this vulnerability poses a high risk to organizations' security posture, compliance requirements, and operational continuity.

Mitigation Recommendations

To mitigate CVE-2025-12107, organizations should: 1) Immediately upgrade WSO2 Identity Server to a patched version once available from the vendor. 2) If a patch is not yet available, restrict administrative access strictly to trusted personnel and enforce strong multi-factor authentication (MFA) to reduce the risk of credential compromise. 3) Audit and monitor administrative activities and template configurations for suspicious changes or injections. 4) Implement network segmentation to limit access to the identity server from only necessary systems and networks. 5) Employ runtime application self-protection (RASP) or web application firewalls (WAF) with custom rules to detect and block malicious template syntax injections. 6) Regularly review and harden template usage policies and sanitize any user-supplied input that may be processed by templates. 7) Conduct security awareness training for administrators about the risks of privilege misuse and the importance of secure template management. These targeted actions go beyond generic advice by focusing on controlling admin privileges, monitoring template integrity, and applying layered defenses until a vendor patch is deployed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
WSO2
Date Reserved
2025-10-23T11:28:43.355Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6996e1c36aea4a407a50ab8c

Added to database: 2/19/2026, 10:11:15 AM

Last enriched: 3/7/2026, 8:44:09 PM

Last updated: 4/9/2026, 1:44:05 AM

Views: 205

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses