CVE-2021-24721
publishedLoco Translate < 2.5.4 - Authenticated PHP Code Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Unknown | — | Loco Translate2.5.4 to < 2.5.4 | Affected | Not stated | WPScan |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Unknown | Loco Translate | 2.5.4 to < 2.5.4 (affected · custom) | WPScan · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2WPScan · cna
Loco Translate < 2.5.4 - Authenticated PHP Code Injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9306808c2c7634cd91d8fd8671b39f22c9e9e8497166b0e9984f7d5b2fa10f9e
- Ingested
- 23 Sep 2026, 07:53:05 UTC
- Source record
- Official CVE record