CVE-2024-6317

CVE-2024-6317 is a high-severity vulnerability in Zealousweb Generate Pdf Using Contact Form 7 with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-352.

Key facts

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.

Frequently asked questions

What is CVE-2024-6317?
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.
How severe is CVE-2024-6317?
CVE-2024-6317 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-6317 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (45th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-6317?
CVE-2024-6317 affects Zealousweb Generate Pdf Using Contact Form 7. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-6317?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-6317 have an EU (EUVD) identifier?
Yes. CVE-2024-6317 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-47433.
When was CVE-2024-6317 published?
CVE-2024-6317 was published on 2024-07-09 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Zealousweb Generate Pdf Using Contact Form 7

All CVEs affecting Zealousweb Generate Pdf Using Contact Form 7 →

Other CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities

Browse all CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities →