Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2021-24981

7.5
CVSS
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.

Attack Vector
-
Privileges Req.
-
User Interaction
-
directorist – business directory plugin
Updated Nov 15, 2026View on NVD →
S4E scanner

Directorist < 7.0.6.2 - Cross-Site Request Forgery to Arbitrary File Upload

The Directorist plugin for WordPress before 7.0.6.2 does not verify a CSRF nonce on its front-end listing submission handler (the add_listing_action AJAX action, registered for unauthenticated users via wp_ajax_nopriv). An attacker can forge a listing submission - including file uploads - on behalf of a logged-in user, leading to arbitrary file upload and potential remote code execution. The fix adds directorist_verify_nonce() to atbdp_submit_listing(). This template detects the missing nonce check by sending a listing submission with no nonce: a vulnerable build processes it (failing later at field validation) while a patched build rejects it at the nonce gate. References: https://nvd.nist.gov/vuln/detail/CVE-2021-24981 https://github.com/advisories/GHSA-g47h-745c-4p4f https://wpscan.com/vulnerability/4c45df6d-b3f6-49e5-8b1f-edd32a12d71c/ https://plugins.trac.wordpress.org/changeset?old_path=/directorist/tags/7.0.6.1&new_path=/directorist/tags/7.0.6.2 Remediation: Update Directorist to 7.0.6.2 or later, which verifies the directorist nonce before processing a listing submission.

10 assets checked · domain, subdomain, ipv4

CVE history: directorist – business directory plugin

Predict next CVE date with AI

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →