SecurityContext

CVE-2021-24721: Loco Translate - Remote Code Execution

  • Cve: CVE-2021-24721
  • Name: Loco Translate - Remote Code Execution
  • 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.
  • Impact: Authenticated users can inject PHP code into web-accessible files, potentially leading to remote code execution.
  • Remediation: Update to version 2.5.4 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be an authenticated translator user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.0094
  • Epss percentile: 0.6167
  • Assignee: [email protected]
  • Published at: 2021-11-08T18:15:09Z
  • Age in days: 1842
  • Modified at: 2026-06-17T03:40:47Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24721
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38nvd2021-11-08

References

UrlSourceTags
https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
loco_translate_project:loco_translate< 2.5.4nonvd/v1/products/loco_translate_project/loco_translate

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-11-08
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts