Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-6317: The Generate PDF using Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery to Arbi

43
This month
HIGH 8.8UPGRADE

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 score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.6% (top 51%)
CISA exploited listNo
WeaknessCWE-352
Published2024-07-09
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: zealousweb

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

zealousweb generate pdf using contact form 7 UPGRADE
Affected: < 4.1.3
Fixed in: 4.1.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy generate-pdf-using-contact-form-7 || rpm -q generate-pdf-using-contact-form-7 || generate-pdf-using-contact-form-7 --version
2. UPGRADE to 4.1.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade generate-pdf-using-contact-form-7
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade generate-pdf-using-contact-form-7
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.