Every CVE Search/ Get API key

CVE-2021-24721

Loco Translate < 2.5.4 - Authenticated PHP Code Injection

6.5 Medium

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.94%Up 0.5 points since Nov 9, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2021-24721
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:N/I:P/A:N
Weakness
CWE-94
Updated
2026-11-02
CVE List No score

Loco Translate < 2.5.4 - Authenticated PHP Code Injection

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.

Record
CVE-2021-24721
Weakness
CWE-94
Updated
2026-11-02
EUVDEUVD-2021-11633 No score

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.

Record
EUVD-2021-11633
Updated
2026-11-03
GitHub AdvisoriesGHSA-8mj6-23hc-v88f No score

The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file...

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.

Record
GHSA-8mj6-23hc-v88f
Weakness
CWE-94
Updated
2026-11-02

Affected products

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-24721 is a medium vulnerability (CVSS 6.5) in Loco Translate Project Translate, published November 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. No source names a fixed version.

References

MoveEnter Open