# CVE-2024-6386: WPML Multilingual CMS <= 4.6.12 - Authenticated (Contributor+) Remote Code Execution via Twig Server-Side Template Injection

- Severity: Critical 9.9 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/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): 25.5%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-21T20:29:23.090Z
- Modified: 2026-06-17T08:17:54.557Z
- Weaknesses: CWE-94, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- WPML WPML: up to 4.6.12; before 4.6.13

## Every score

- Wordfence: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://sec.stealthcopter.com/wpml-rce-via-twig-ssti/> (exploit, third-party-advisory)
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/f7fc91cc-e529-4362-8269-bf7ee0766e1e?source=cve> (third-party-advisory)
- <https://wpml.org/> (product)

## Sources

- CVE List: [CVE-2024-6386](https://www.cve.org/CVERecord?id=CVE-2024-6386), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-6386](https://nvd.nist.gov/vuln/detail/CVE-2024-6386), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6386 · Whole record: https://cve.day/CVE-2024-6386.json · Rebuilt by cve.day 2026-11-25T22:58:44.645Z
