Description
The JetFormBuilder plugin for WordPress is vulnerable to arbitrary file read via path traversal in all versions up to, and including, 3.5.6.2. This is due to the 'Uploaded_File::set_from_array' method accepting user-supplied file paths from the Media Field preset JSON payload without validating that the path belongs to the WordPress uploads directory. Combined with an insufficient same-file check in 'File_Tools::is_same_file' that only compares basenames, this makes it possible for unauthenticated attackers to exfiltrate arbitrary local files as email attachments by submitting a crafted form request when the form is configured with a Media Field and a Send Email action with file attachment.
Problem types
CWE-36 Absolute Path Traversal
Product status
Any version
Timeline
| 2026-03-18: | Vendor Notified |
| 2026-03-20: | Disclosed |
Credits
daroo
References
www.wordfence.com/...-d56f-4540-9700-9e9de8b465e1?source=cve
plugins.trac.wordpress.org/...es/resources/uploaded-file.php
plugins.trac.wordpress.org/...lock-parsers/file-uploader.php
plugins.trac.wordpress.org/...nd-email/send-email-action.php
plugins.trac.wordpress.org/changeset/3486996/jetformbuilder