Security Resilience

CVE-2024-6317

CSRF in Zealousweb Generate Pdf Using Contact Form 7 ≤ 4.1.3

Published
09 July 2024
Modified
08 April 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0060 48th percentile
Risk Priority 72 floored blend · peak EPSS

CVSS 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

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

CVE-2024-6316Same product: Zealousweb Generate Pdf Using Contact Form 7
CVE-2023-23865Same product class: WordPress / CMS plugin
CVE-2023-40559Same product class: WordPress / CMS plugin
CVE-2023-25976Same product class: WordPress / CMS plugin
CVE-2023-36511Same product class: WordPress / CMS plugin
CVE-2024-2262Same product class: WordPress / CMS plugin
CVE-2023-34386Same product class: WordPress / CMS plugin
CVE-2023-39158Same product class: WordPress / CMS plugin
CVE-2024-6230Same product class: WordPress / CMS plugin
CVE-2024-8490Same product class: WordPress / CMS plugin

Affected Assets

zealousweb
generate pdf using contact form 7
≤ 4.1.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.3.2
  • V3.5.1
  • V10.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.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require anti-CSRF controls such as tokens or SameSite attributes.

References