WordPress security changelog
HIGH CVE-2026-15005 Deferred

Loco Translate template wrapper can lead to PHP execution

Loco Translate 2.8.5 and earlier does not correctly validate the request reaching execTemplate. A forged administrator request can supply a php://filter-style stream wrapper as template input and reach a PHP include operation, turning CSRF into server-side code execution.

CVE / CNA score 8.8 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Loco Translate
Plugin slug
loco-translate
Affected
<= 2.8.5
Safe version
> 2.8.5
Published
Jul 16, 2026
Weakness
CWE-352 — Cross-Site Request Forgery (CSRF)

This CVE was published Jul 16, 2026 and is one of 6 known issues for this plugin.

Update, patch or deactivate.

Update Loco Translate to a release newer than 2.8.5.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Loco Translate plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.8.5. This is due to missing or incorrect nonce validation on the execTemplate function. This makes it possible for unauthenticated attackers to execute arbitrary PHP code on the server by supplying a php://filter stream wrapper URI as the 'template' parameter, which bypasses path validation and is passed directly to the include sink in execTemplate() via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary and upstream sources