CVE-2024-6317: CWE-352 Cross-Site Request Forgery (CSRF) in zealopensource Generate PDF using Contact Form 7
The Generate PDF using Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery to Arbitrary File Upload in versions up to, and including, 4.1.2. This is due to missing nonce validation and the plugin not properly validating a file or its path prior to deleting it in the 'wp_cf7_pdf_dashboard_html_page' function. This makes it possible for unauthenticated attackers to delete arbitrary files, including the wp-config.php file, which can make site takeover and remote code execution possible via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
AI Analysis
Technical Summary
The Generate PDF using Contact Form 7 plugin for WordPress suffers from a CSRF vulnerability (CWE-352) in the 'wp_cf7_pdf_dashboard_html_page' function. The plugin lacks nonce validation and does not properly validate file paths before deleting files. This flaw allows unauthenticated attackers to craft forged requests that cause arbitrary file deletion, including sensitive files such as wp-config.php. Successful exploitation requires tricking a site administrator into performing an action, which can lead to site compromise and remote code execution. The vulnerability affects versions up to and including 4.1.2 and has a CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
Potential Impact
An attacker can delete arbitrary files on the affected WordPress site, including critical configuration files like wp-config.php. This can result in site takeover and remote code execution if an administrator is tricked into executing a malicious request. The vulnerability requires user interaction (UI:R) but no privileges or authentication (PR:N). The high CVSS score reflects the potential for complete compromise of confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should avoid clicking on suspicious links and consider disabling or removing the affected plugin. Monitoring for updates from the vendor zealopensource is recommended to apply an official fix once released.
CVE-2024-6317: CWE-352 Cross-Site Request Forgery (CSRF) in zealopensource Generate PDF using Contact Form 7
Description
The Generate PDF using Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery to Arbitrary File Upload in versions up to, and including, 4.1.2. This is due to missing nonce validation and the plugin not properly validating a file or its path prior to deleting it in the 'wp_cf7_pdf_dashboard_html_page' function. This makes it possible for unauthenticated attackers to delete arbitrary files, including the wp-config.php file, which can make site takeover and remote code execution possible via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Generate PDF using Contact Form 7 plugin for WordPress suffers from a CSRF vulnerability (CWE-352) in the 'wp_cf7_pdf_dashboard_html_page' function. The plugin lacks nonce validation and does not properly validate file paths before deleting files. This flaw allows unauthenticated attackers to craft forged requests that cause arbitrary file deletion, including sensitive files such as wp-config.php. Successful exploitation requires tricking a site administrator into performing an action, which can lead to site compromise and remote code execution. The vulnerability affects versions up to and including 4.1.2 and has a CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
Potential Impact
An attacker can delete arbitrary files on the affected WordPress site, including critical configuration files like wp-config.php. This can result in site takeover and remote code execution if an administrator is tricked into executing a malicious request. The vulnerability requires user interaction (UI:R) but no privileges or authentication (PR:N). The high CVSS score reflects the potential for complete compromise of confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should avoid clicking on suspicious links and consider disabling or removing the affected plugin. Monitoring for updates from the vendor zealopensource is recommended to apply an official fix once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-06-25T12:49:24.792Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c01b7ef31ef0b55edee
Added to database: 2/25/2026, 9:39:13 PM
Last enriched: 4/9/2026, 2:55:10 PM
Last updated: 4/12/2026, 5:14:37 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.