{"id":"CVE-2024-6386","state":"PUBLISHED","title":"WPML Multilingual CMS <= 4.6.12 - Authenticated (Contributor+) Remote Code Execution via Twig Server-Side Template Injection","description":"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.","publishedAt":"2024-08-21T20:29:23.090Z","updatedAt":"2026-04-08T17:33:51.326Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Wordfence"},"assigner":"Wordfence","products":["WPML WPML"],"affected":[{"vendor":"WPML","product":"WPML","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.6.12","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/f7fc91cc-e529-4362-8269-bf7ee0766e1e?source=cve","https://wpml.org/","https://sec.stealthcopter.com/wpml-rce-via-twig-ssti/"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6386.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-6386","state":"PUBLISHED","datePublished":"2024-08-21T20:29:23.090Z","dateUpdated":"2026-04-08T17:33:51.326Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2024-06-27T10:17:18.971Z"},"containers":{"cna":{"title":"WPML Multilingual CMS <= 4.6.12 - Authenticated (Contributor+) Remote Code Execution via Twig Server-Side Template Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"WPML","product":"WPML","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.6.12","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f7fc91cc-e529-4362-8269-bf7ee0766e1e?source=cve"},{"url":"https://wpml.org/"},{"url":"https://sec.stealthcopter.com/wpml-rce-via-twig-ssti/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:33:51.326Z"},"credits":[{"lang":"en","type":"finder","value":"Matthew Rollings"}],"timeline":[{"time":"2024-06-19T00:00:00.000Z","lang":"en","value":"Discovered"},{"time":"2024-08-21T08:00:14.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"wpml","product":"wpml","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.6.12","versionType":"semver"}],"cpes":["cpe:2.3:a:wpml:wpml:*:*:*:*:*:wordpress:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-21T20:36:04.624512Z","id":"CVE-2024-6386","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-21T20:36:58.048Z"}}]}}}