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

9.9
Improper Neutralization of Special Elements Used in a Template Engine
CVE CVE-2024-6386
CVSS 9.9 (Critical)
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

Share

Vulnerability Details for WPML Multilingual CMS

Software Type Plugin
Software Slug sitepress-multilingual-cms
Patched? Yes
Remediation Update to version 4.6.13, or a newer patched version
Affected Version
  • <= 4.6.12
Patched Version
  • 4.6.13

Recent vulnerabilities in WPML Multilingual CMS

# Title CVE ID CVSS Researchers Date
1 WPML Multilingual CMS 3.6.0 - 4.7.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via wpml_language_switcher Shortcode CVE-2025-3488 6.4 stealthcopter May 1, 2025
2 WPML <= 4.6.0 - Reflected Cross-Site Scripting via wp_lang 6.1 Deepak kumar, 0xcharan April 16, 2023
3 WPML <= 4.5.10 - Missing Authorization to Translation Job Status Change CVE-2022-38974 4.3 Dave Jong November 9, 2022
4 WPML <= 4.5.13 - Cross-Site Request Forgery CVE-2022-45071 4.3 Dave Jong November 9, 2022
5 WPML <= 4.5.13 - Cross-Site Request Forgery CVE-2022-45072 4.3 Dave Jong November 9, 2022
6 WPML <= 4.5.10 - Missing Authorization to Settings Change CVE-2022-38461 4.3 Dave Jong November 9, 2022
7 WPML <= 4.5.10 - Unprotected AJAX Actions 5.4 September 26, 2022
8 WPML < 4.3.7 - Cross-Site Request Forgery Bypass CVE-2020-10568 8.8 Gerard Arall March 9, 2020
9 WPML <= 3.6.3 - Unauthenticated Stored Cross-Site Scripting CVE-2018-18069 7.2 October 8, 2018
10 WPML 2.9.3-3.2.6 - Cross-Site Scripting in Accept-Language Header CVE-2015-9416 6.1 September 2, 2015

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation