CVE-2024-6317

Generate PDF using Contact Form 7 <= 4.0.6 - Cross-Site Request Forgery to Arbitrary File Deletion

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.0.6. 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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.67% Top 30%
Third-Party Advisory wordfence.com
Affected: zealopensource Generate PDF using Contact Form 7
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-6317?
CVE-2024-6317 has been scored as a high severity vulnerability.
How to fix CVE-2024-6317?
To fix CVE-2024-6317, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-6317 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-6317 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-6317?
CVE-2024-6317 affects zealopensource Generate PDF using Contact Form 7.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.