{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-12107",
        "assignerOrgId": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
        "state": "PUBLISHED",
        "assignerShortName": "WSO2",
        "dateReserved": "2025-10-23T11:28:43.355Z",
        "datePublished": "2026-02-19T10:04:47.542Z",
        "dateUpdated": "2026-09-03T13:25:20.318Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
                "shortName": "WSO2",
                "dateUpdated": "2026-09-03T13:25:20.318Z"
            },
            "title": "Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-77",
                            "description": "CWE-77: Improper Neutralization of Special Elements used in OS Commands ('OS Command Injection')",
                            "type": "CWE"
                        },
                        {
                            "lang": "en",
                            "cweId": "CWE-94",
                            "description": "CWE-94: Improper Control of Generation of Code ('Code Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-10",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-10 CAPEC-10: Injection"
                        }
                    ]
                },
                {
                    "capecId": "CAPEC-260",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-260 CAPEC-260: Server-Side Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "WSO2",
                    "product": "Identity Server",
                    "versions": [
                        {
                            "status": "unaffected",
                            "version": "0",
                            "lessThan": "5.11.0",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "5.11.0",
                            "lessThan": "5.11.0.299",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "6.0.0",
                            "lessThan": "6.0.0.140",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "6.1.0",
                            "lessThan": "6.1.0.122",
                            "versionType": "custom"
                        }
                    ],
                    "defaultStatus": "unknown"
                }
            ],
            "cpeApplicability": [
                {
                    "operator": "OR",
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": false,
                                    "criteria": "cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "0",
                                    "versionEndExcluding": "5.11.0"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11.0",
                                    "versionEndExcluding": "5.11.0.299"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0.0",
                                    "versionEndExcluding": "6.0.0.140"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.0",
                                    "versionEndExcluding": "6.1.0.122"
                                }
                            ]
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.\n\nSuccessful 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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "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.\n\nSuccessful 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."
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "ADJACENT_NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseSeverity": "HIGH",
                        "baseScore": 8.4,
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
                    }
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/#solution",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<span style=\"background-color: transparent;\">Follow the instructions given on </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/#solution\"><span style=\"background-color: transparent;\">https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/#solution</span></a> <br>"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Robert C. Raducioiu",
                    "type": "finder"
                }
            ],
            "source": {
                "advisory": "WSO2-2025-4517",
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-02-20T20:41:43.252367Z",
                                "id": "CVE-2025-12107",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-02-20T20:41:56.623Z"
                }
            }
        ]
    }
}