{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-12107 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-12107 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-12107 is a high-severity code injection vulnerability in Wso2 Identity Server, published on 19 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-12107 and fix it if it is affected.\n\nWhat it is: CVE-2025-12107 is a high-severity code injection vulnerability in Wso2 Identity Server, published on 19 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-12107 in the wild and no public exploit code.\n\nAffected product: Wso2 Identity Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-12107/ (Markdown: https://insights.sbomify.com/CVE-2025-12107/index.md)","id":"CVE-2025-12107","markdown":"https://insights.sbomify.com/CVE-2025-12107/index.md","name":"CVE-2025-12107","record":{"aliases":["GHSA-8v9w-wqxw-hp8g"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WSO2 Identity Server","requires_auth":"high_privilege","summary":"An authenticated administrator can inject arbitrary Velocity template syntax to execute remote code, manipulate data, and access sensitive information.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WSO2","cpe":[{"product":"identity_server","vendor":"wso2"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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.\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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution","id":"CVE-2025-12107","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"wso2:identity_server","products":["wso2:identity_server"],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Missing Authentication for Critical Function Survision License Plate Recognition Camera","id":"CVE-2025-12108"},"packages":[],"prev":{"headline":"Memory corruption in OpenVPN","id":"CVE-2025-12106"},"products":["Identity Server"],"published":"2026-02-19","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2016-4311","kev_date_added":null,"published":"2017-02-16"},{"cvss_score":8.6,"headline":"Denial-of-Service via Magic Link Authentication in WSO2 Identity Server Allows Service Unavailability","id":"CVE-2025-10470","kev_date_added":null,"published":"2026-05-11"},{"cvss_score":7.5,"headline":"XML external entity in n/a","id":"CVE-2016-4312","kev_date_added":null,"published":"2017-02-16"},{"cvss_score":7.3,"headline":"Account Lock Bypass via Magic Link or Pass Key Authentication in WSO2 Identity Server Allows Unauthorized Access","id":"CVE-2025-10908","kev_date_added":null,"published":"2026-05-11"},{"cvss_score":6.8,"headline":"Auth bypass in WSO2 Identity Server","id":"CVE-2025-0663","kev_date_added":null,"published":"2025-09-23"},{"cvss_score":6.5,"headline":"Unauthenticated Server-Side Request Forgery (SSRF) in Multiple WSO2 Products via SOAP Admin Services","id":"CVE-2024-7073","kev_date_added":null,"published":"2025-06-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-03","vendors":["WSO2"]},"summary":"An authenticated administrator can inject arbitrary Velocity template syntax to execute remote code, manipulate data, and access sensitive information.","url":"https://insights.sbomify.com/CVE-2025-12107/"}