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

Improper Neutralization of Special Elements Used in a Template Engine
CVE CVE-2024-6386
CVSS Critical (9.9)
Publicly Published August 21, 2024
Last Updated August 22, 2024
Researcher stealthcopter
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.

References

1 affected software package

Software Type Plugin
Software Slug sitepress-multilingual-cms (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.6.12
Patched Version
  • 4.6.13
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.