WordPress Plugin Vulnerabilities

Ultra Addons for Contact Form 7 < 3.5.55 - Unauthenticated PHP Object Injection to Arbitrary File Deletion via CF7 Form Field

Description

The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the _getObjAttr function in all versions up to, and including, 3.5.54. This makes it possible for unauthenticated attackers 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). This requires the PDF Generator add-on to be active and a Contact Form 7 form to be configured for PDF generation, as the WPCF7_Submission POP gadget chain relies on CF7 being present to complete the file deletion via __destruct(). Note: This vulnerability can only be exploited when the PDF generator feature is enabled.

Affects Plugins

References

Classification

Type
OBJECT INJECTION
CWE

Miscellaneous

Original Researcher
Sawyer
Verified
No

Timeline

Publicly Published
2026-11-02 (about 21 days ago)
Added
2026-11-02 (about 21 days ago)
Last Updated
2026-11-21 (about 1 day ago)

Other