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.5CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:UScope- Unchanged
C:NConfidentiality- None
I:HIntegrity- High
A:NAvailability- None
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
Loco Translate loco-translate
- Affected< 2.5.4
- 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
- Update to version 2.5.4, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- 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
- Advisorywordfence.com
Related CVEs
More in Loco Translate
All 9| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.4 | Authenticated (Translator+) Stored Cross-Site Scripting ≤2.8.8Update to 2.8.9 | CVE-2026-94239 | |
| Medium4.3 | Authenticated (Translator+) Limited File Read ≤2.8.8Update to 2.8.9 | CVE-2026-94238 | |
| Medium6.4 | Authenticated (Translator+) Stored Cross-Site Scripting via PO File Extracted Comments ≤2.8.7Update to 2.8.8 | CVE-2026-15066 | |
| High8.8 | Cross-Site Request Forgery to Remote Code Execution via 'template' Parameter ≤2.8.5Update to 2.8.6 | CVE-2026-15005 | |
| Medium4.9 | Authenticated (Translator+) Path Traversal to Limited File Read via 'ref' Parameter ≤2.8.2Update to 2.8.3 | CVE-2026-1921 |
- Medium6.4Authenticated (Translator+) Stored Cross-Site Scripting
≤2.8.8Update to 2.8.9
- Medium4.3Authenticated (Translator+) Limited File Read
≤2.8.8Update to 2.8.9
- Medium6.4Authenticated (Translator+) Stored Cross-Site Scripting via PO File Extracted Comments
≤2.8.7Update to 2.8.8
- High8.8Cross-Site Request Forgery to Remote Code Execution via 'template' Parameter
≤2.8.5Update to 2.8.6
- Medium4.9Authenticated (Translator+) Path Traversal to Limited File Read via 'ref' Parameter
≤2.8.2Update to 2.8.3
Timeline
CVE published
Severity medium, CVSS 6.5
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.
