# CVE-2025-12107: WSO2 Identity Server Server-Side Template Injection in Velocity

Source: https://junglewise.ai/threats/cve-2025-12107-wso2-identity-server-server-side-template-injection-in-velocity  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-19. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-12107 · Severity: high · CVSS 8.4 · Published 2026-02-19

WSO2 Identity Server is an enterprise identity and access management platform used to authenticate users and manage permissions across corporate applications. A flaw in its Velocity template processing allows authenticated administrators to inject and execute arbitrary code on the server, potentially leading to full system compromise, data theft, or unauthorized access to all managed identities and applications.

Technologies: [Wso2 Identity Server](https://junglewise.ai/threats/technologies/identity-server). Vendors: [Wso2](https://junglewise.ai/threats/vendors/wso2).

## Quick answers

**Is CVE-2025-12107 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-12107 being exploited in the wild.

**How severe is CVE-2025-12107?** High severity, with a CVSS score of 8.4, published 19 February 2026.

**Which products and versions are affected?** Wso2 Identity Server 5.11.0, 6.0.0, 6.1.0.

**Is there a fix for CVE-2025-12107?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-12107 attacked?** It is attacked over the network.

**Am I affected by CVE-2025-12107?** Check whether you run Wso2 Identity Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a Server-Side Template Injection (SSTI) in WSO2 Identity Server's use of the Velocity template engine, which processes user-controlled template syntax without adequate sanitization or validation. An authenticated administrator can inject malicious Velocity template directives to execute arbitrary code on the server. The attack requires administrative privileges and is network-accessible to authorized users. Successful exploitation enables remote code execution, data manipulation, and unauthorized information access. Patches are available as specified update levels for affected versions (5.11.0, 6.0.0, 6.1.0).

## Affected products

- WSO2 Identity Server 5.11.0, 6.0.0, 6.1.0

## Timeline

- 2026-01-23: disclosed
- 2026-02-19: published

## References

- [https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/](https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/)

## Related threats

- [WSO2 Identity Server privilege escalation via client credentials grant type](https://junglewise.ai/threats/cve-2025-11229-the-system-fails-to-properly-enforce-scope-authorization-when-the)
- [WSO2 Identity Server privilege escalation via shared database](https://junglewise.ai/threats/cve-2026-4052-this-issue-only-impacts-deployments-where-wso2-identity-server-is)
- [WSO2 Access token issuance without IDP status validation](https://junglewise.ai/threats/cve-2025-1397-when-utilizing-jwt-bearer-or-saml2-bearer-grant-types-the-system)
- [WSO2 products sensitive information disclosure in Event Publisher logs](https://junglewise.ai/threats/cve-2026-18800-when-an-event-publisher-output-adapter-is-configured-with)
- [WSO2 Identity Server content-type validation bypass](https://junglewise.ai/threats/cve-2025-13647-the-affected-component-fails-to-enforce-expected-validation)
