CVE-2021-24981
Published: April 11, 2026
Official Description
The Directorist WordPress plugin before 7.0.6.2 was vulnerable to Cross-Site Request Forgery to Remote File Upload leading to arbitrary PHP shell uploads in the wp-content/plugins directory.
Risk Analysis
The Directorist WordPress plugin is vulnerable to Cross-Site Request Forgery (CSRF) that can lead to remote file upload and arbitrary PHP shell uploads. This vulnerability is actively exploited, as confirmed by its presence in CISA's KEV, making it a severe risk.
This vulnerability is actively exploited in the wild. Successful exploitation can lead to remote code execution through arbitrary PHP file uploads.
Update the Directorist WordPress plugin to version 7.0.6.2 or newer. Implement robust CSRF protection and restrict file uploads to trusted file types and locations.
Technical Analysis
CVE-2021-24981 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CISA has added CVE-2021-24981 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.
Affected Vendors & Products
Exploit & PoC Resources
Quick Facts
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-24981 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
- !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
- !Active exploitation confirmed — treat as P1