{"id":"CVE-2024-6316","aliases":["CVE-2024-6316"],"related":[],"kind":"vulnerability","state":"published","title":"Generate PDF using Contact Form 7 <= 4.1.2 - Cross-Site Request Forgery to Arbitrary File Upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El complemento Generate PDF using Contact Form 7 para WordPress es vulnerable a Cross-Site Request Forgery para la carga arbitraria de archivos en versiones hasta la 4.0.6 incluida. Esto se debe a que falta la validación nonce y la validación del tipo de archivo en la función 'wp_cf7_pdf_dashboard_html_page'. Esto hace posible que atacantes no autenticados carguen archivos arbitrarios en el servidor del sitio afectado, lo que puede hacer posible la ejecución remota de código a través de una solicitud falsificada, siempre que puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace.","source":"nvd"}],"published":"2024-07-09T07:38:44.604Z","modified":"2026-06-17T08:17:45.927Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.1.2","status":"affected"}],"vendor":"zealopensource","product":"Generate PDF using Contact Form 7","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.0","lastAffected":"4.0.6","status":"affected"}],"vendor":"zealousweb","product":"generate_pdf_using_contact_form_7","cpe":"cpe:2.3:a:zealousweb:generate_pdf_using_contact_form_7:1.0:*:*:*:*:wordpress:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.1.3"}],"vendor":"zealousweb","product":"generate_pdf_using_contact_form_7","cpe":"cpe:2.3:a:zealousweb:generate_pdf_using_contact_form_7:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/52cce49b-49b3-49b0-9f18-4829f07a420f?source=cve","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"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":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3146943/generate-pdf-using-contact-form-7","tags":[],"sources":["cvelist","nvd"]}],"credits":["István Márton"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-07-09T15:10:00.887Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6316","url":"https://www.cve.org/CVERecord?id=CVE-2024-6316","licence":"CVE Terms of Use","modified":"2026-04-08T16:52:54.792Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6316","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6316","licence":"Public domain","modified":"2026-06-17T08:17:45.927Z"}],"updatedAt":"2026-11-25T22:58:42.583Z","epss":{"score":0.00519,"percentile":0.45593,"date":"2026-12-01T12:00:22.000Z"}}