CVE-2021-24721

Loco Translate < 2.5.4 - Authenticated PHP Code Injection

No CVSS score yet EPSS 0.94%

Published 8 Nov 2021 Updated 3 Aug 2024 CNA: 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.

Exploitation

EPSS 0.94%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 61.9% of all scored CVEs. Scores of 2 Dec 2026.

Weakness

  • CWE-94 Improper Control of Generation of Code

Affected products

As the CNA lists them.

ProductVersions
Loco Translate
Unknown
affected from 2.5.4, before 2.5.4

Is my server affected?

This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-24721 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.