CVE-2021-24721
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24721 affects the Loco Translate WordPress plugin versions before 2.5.4. This security flaw was discovered and publicly disclosed on October 11, 2021, by security researcher Tomi Ashari. The vulnerability allows authenticated users with 'translator' role privileges to perform PHP code injection attacks (WPScan).

Technical details

The vulnerability stems from improper handling of data inputs that are saved to files. The core issue lies in the ability to rename these files to have a .php extension. The vulnerability has been classified as an injection-type vulnerability and received a CVSS score of 8.8 (High). This aligns with the OWASP Top 10 category A1: Injection (WPScan).

Impact

When exploited, this vulnerability allows authenticated users with translator privileges to inject PHP code into files with .php extensions in web-accessible locations. This could potentially lead to remote code execution on the affected WordPress installation (CVE Mitre).

Mitigation and workarounds

The vulnerability has been patched in Loco Translate version 2.5.4. Users are strongly advised to update their Loco Translate plugin to this version or newer to mitigate the risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-9488MEDIUM6.4
  • redux-framework
NoYesDec 13, 2025
CVE-2025-9207MEDIUM5.3
  • ti-woocommerce-wishlist
NoYesDec 13, 2025
CVE-2025-9218LOW3.7
  • buddypress-media
NoYesDec 13, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management