# CVE-2025-12107: Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution

- Severity: High 8.4 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-02-19T10:04:47.542Z
- Modified: 2026-09-03T14:17:00.010Z
- Weaknesses: CWE-77, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- WSO2 Identity Server: from 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)
- wso2 identity_server: 5.11.0

## Every score

- WSO2: CVSS:3.1 8.4 High `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-12107](https://www.cve.org/CVERecord?id=CVE-2025-12107), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2025-12107](https://nvd.nist.gov/vuln/detail/CVE-2025-12107), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2025-12107 · Whole record: https://cve.day/CVE-2025-12107.json · Rebuilt by cve.day 2026-11-25T22:59:11.348Z
