Update the WordPress Directorist plugin to the latest available version (at least 7.2.3).
Rafie Muhammad (Patchstack) discovered and reported this Arbitrary File Upload vulnerability in WordPress Directorist Plugin. This could allow a malicious actor to upload any type of file to your website. This can include backdoors which are then executed to gain further access to your website. This vulnerability has been fixed in version 7.2.3.