Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-6317 is a high-severity CSRF (CWE-352) vulnerability in Zealousweb Generate Pdf Using Contact Form 7. Its CVSS base score is 8.8 (High).
Operationally, ranked at the 48th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SC-23 (Session Authenticity) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
The Generate PDF using Contact Form 7 plugin for WordPress, in versions through 4.1.2, contains a Cross-Site Request Forgery vulnerability that permits arbitrary file deletion. The flaw stems from absent nonce validation combined with insufficient checks on file paths inside the wp_cf7_pdf_dashboard_html_page function, allowing an attacker to supply a forged request that removes any file on the server.
An unauthenticated attacker can exploit the issue by crafting a malicious request that deletes critical files such as wp-config.php; successful exploitation requires only that a site administrator be tricked into performing an action such as clicking a link, after which site takeover and remote code execution become possible. The vulnerability carries a CVSS 3.1 score of 8.8.
Public references, including the Wordfence advisory and the plugin’s Trac changeset 3146943, indicate that the issue was addressed by updating the plugin to enforce proper nonce checks and file validation; administrators are therefore advised to upgrade beyond version 4.1.2.
EPSS for the CVE rose from a low baseline to a recorded peak of 0.0833, indicating that exploitation interest increased after disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-47433
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V3.3.2V3.5.1V10.2.1
Mitigating Controls (NIST 800-53 r5) AI
Access enforcement requires verifying that state-changing requests originate from the authenticated user rather than a forged cross-site source.
Protecting session authenticity prevents attackers from replaying or forging authenticated requests via the victim's browser.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly require anti-CSRF controls such as tokens or SameSite attributes.