CVE-2024-6317: The Generate PDF using Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery to Arbi
CVE-2024-6317 is a high-severity flaw (CVSS 8.8) affecting generate pdf using contact form 7. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 51%) |
| CISA exploited list | No |
| Weakness | CWE-352 |
| Published | 2024-07-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6317?
generate pdf using contact form 7: upgrade to 4.1.3. Exact commands for each OS are on this page.
Is CVE-2024-6317 being exploited?
CVE-2024-6317 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6317 affect?
CVE-2024-6317 affects generate pdf using contact form 7. Severity is high (CVSS 8.8). 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 val
How urgent is CVE-2024-6317?
Priority 43/100. High severity
Software pages
WordPress vulnerabilities · PHP vulnerabilities
Related CVEs
- CVE-2024-6316 HIGH 8.8 UPGRADE The Generate PDF using Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery to Arbi
- CVE-2024-37555 CRITICAL 9.1 UPGRADE Unrestricted Upload of File with Dangerous Type vulnerability in ZealousWeb Generate PDF using Contact Form 7