Radar sectionsDatabase
Check my site
WordPress plugin

Loco Translate <= 2.5.3 — Authenticated PHP Code Injection

CVE-2021-24721Published · Updated

Action summary

Affected: <2.5.4Update to 2.5.4 or newer

All remediation steps
Severity
Medium6.5
CVSS
6.5
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:L Privileges required
Low
UI:N User interaction
None
S:U Scope
Unchanged
C:N Confidentiality
None
I:H Integrity
High
A:N Availability
None
Weakness
CWE-94 Improper Control of Generation of Code
Required access
Unknown
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

Loco Translate loco-translate

  1. Affected< 2.5.4
  2. Patched in2.5.4

Update to 2.5.4 or newer.

You are affected if you run < 2.5.4. Version 2.5.4 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Loco Translate.
  • No admin access? Run a passive check of your site. It reads public files only.

What to do

  1. Update to version 2.5.4, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch Loco Translate to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Tomi Ashari.

The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file, which can be renamed to an extension ending in .php, resulting in authenticated "translator" users being able to inject PHP code into files ending with .php in web accessible locations.

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in Loco Translate

All 9
More vulnerabilities in Loco Translate
SeverityVulnerabilityCVEPublished
Medium6.4Authenticated (Translator+) Stored Cross-Site Scripting
≤2.8.8Update to 2.8.9
CVE-2026-94239
Medium4.3Authenticated (Translator+) Limited File Read
≤2.8.8Update to 2.8.9
CVE-2026-94238
Medium6.4Authenticated (Translator+) Stored Cross-Site Scripting via PO File Extracted Comments
≤2.8.7Update to 2.8.8
CVE-2026-15066
High8.8Cross-Site Request Forgery to Remote Code Execution via 'template' Parameter
≤2.8.5Update to 2.8.6
CVE-2026-15005
Medium4.9Authenticated (Translator+) Path Traversal to Limited File Read via 'ref' Parameter
≤2.8.2Update to 2.8.3
CVE-2026-1921

Timeline

  1. CVE published

    Severity medium, CVSS 6.5

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?