{"id":"CVE-2024-6316","published":"2024-07-09T07:38:44Z","modified":"2026-04-08T16:52:54Z","title":"Generate PDF using Contact Form 7 <= 4.1.2 - Cross-Site Request Forgery to Arbitrary File Upload","vendor":"zealopensource","product":"Generate PDF using Contact Form 7","tier":"tail","description":{"text":"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 missing file type validation in the 'wp_cf7_pdf_dashboard_html_page' function. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make 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. CVE-2024-37555 is a duplicate of this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00519,"percentile":0.45013,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/52cce49b-49b3-49b0-9f18-4829f07a420f?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/generate-pdf-using-contact-form-7/tags/4.0.6/inc/templates/cf7-pdf-generation.admin.html.php#L72","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3146943/generate-pdf-using-contact-form-7","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.0},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"zealopensource","affectedVersions":[{"vendor":"zealopensource","product":"Generate PDF using Contact Form 7","versions":["<= 4.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-07-09T15:10:00.887632Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-47432","exploited":false,"provenance":"source"}}