Description
The WP Job Portal plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'WPJOBPORTALcustomfields::removeFileCustom' function in all versions up to, and including, 2.4.9. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Timeline
| 2026-03-24: | Vendor Notified |
| 2026-03-25: | Disclosed |
Credits
daroo
References
www.wordfence.com/...-4b2e-4ea1-a3e5-fd7452a2fea9?source=cve
plugins.trac.wordpress.org/...ludes/classes/customfields.php
plugins.trac.wordpress.org/...s/customfields.php?rev=3490490