CVE-2021-25119
WordPress vulnerability analysis and mitigation

Overview

The AGIL WordPress plugin through version 1.0 contains an arbitrary file upload vulnerability (CVE-2021-25119). The vulnerability was discovered by Chuang LI and publicly disclosed on April 19, 2022. The plugin accepts and automatically extracts all zip files without validating the extracted file types, affecting the automatic-grid-image-listing plugin (WPScan).

Technical details

The vulnerability exists in the Grid Image Listing functionality of the plugin. When an administrator sets a base folder name and uploads a zip file through the plugin's interface at /wp-admin/admin.php?page=automatic_grid_image_listing, the plugin extracts the contents without performing proper file type validation. The extracted files are placed in the wp-content directory under the specified base folder name (WPScan).

Impact

This vulnerability allows authenticated users with administrative privileges to upload arbitrary files, including PHP files, potentially leading to Remote Code Execution (RCE) on the affected WordPress installation. The uploaded malicious files would be accessible via the WordPress content directory (WPScan).

Mitigation and workarounds

As of the vulnerability disclosure, there is no known fix available for this issue. Site administrators using the AGIL WordPress plugin should consider removing or disabling the plugin until a security patch is released (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-14977HIGH8.1
  • dokan-lite
NoYesJan 20, 2026
CVE-2025-14348MEDIUM5.3
  • wemail
NoYesJan 20, 2026
CVE-2026-1045MEDIUM4.4
  • viet-contact
NoNoJan 20, 2026
CVE-2026-1042MEDIUM4.4
  • wp-hello-bar
NoNoJan 20, 2026
CVE-2025-12573N/AN/A
  • bookingor
NoNoJan 20, 2026

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