CVEvulnerability

CVE-2021-24721

6.5 MEDIUM Published 2021-11-08 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-11-08
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
4.0 MEDIUM — AV:N/AC:L/Au:S/C:N/I:P/A:N
Weaknesses
CWE-94

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.

Affected configurations

• loco translate project loco translate (< 2.5.4)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References