{"id":"CVE-2024-6386","aliases":["CVE-2024-6386"],"related":[],"kind":"vulnerability","state":"published","title":"WPML Multilingual CMS <= 4.6.12 - Authenticated (Contributor+) Remote Code Execution via Twig Server-Side Template Injection","summary":"The WPML plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.6.12 via Twig Server-Side Template Injection. This is due to missing input validation and sanitization on the render function. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The WPML plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.6.12 via Twig Server-Side Template Injection. This is due to missing input validation and sanitization on the render function. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server.","source":"cvelist"},{"lang":"es","text":"El complemento WPML para WordPress es vulnerable a la ejecución remota de código en todas las versiones hasta la 4.6.12 incluida a través de la inyección de plantilla del lado del servidor Twig. Esto se debe a que falta validación de entrada y desinfección en la función de renderizado. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, ejecuten código en el servidor.","source":"nvd"}],"published":"2024-08-21T20:29:23.090Z","modified":"2026-06-17T08:17:54.557Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94","CWE-1336"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.6.12","status":"affected"}],"vendor":"WPML","product":"WPML","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.6.12","status":"affected"}],"vendor":"wpml","product":"wpml","cpe":"cpe:2.3:a:wpml:wpml:*:*:*:*:*:wordpress:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.6.13"}],"vendor":"wpml","product":"wpml","cpe":"cpe:2.3:a:wpml:wpml:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f7fc91cc-e529-4362-8269-bf7ee0766e1e?source=cve","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://wpml.org/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://sec.stealthcopter.com/wpml-rce-via-twig-ssti/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Matthew Rollings"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-21T20:36:04.624Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6386","url":"https://www.cve.org/CVERecord?id=CVE-2024-6386","licence":"CVE Terms of Use","modified":"2026-04-08T17:33:51.326Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6386","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6386","licence":"Public domain","modified":"2026-06-17T08:17:54.557Z"}],"updatedAt":"2026-11-25T22:58:44.645Z","epss":{"score":0.25533,"percentile":0.97993,"date":"2026-12-01T12:00:22.000Z"}}