Plugins · contact-form-7 · data as of 2026-11-01
Is Contact Form 7 safe? Known vulnerabilities and latest version
- Latest version
- 6.2.4.1
- Last updated
- 2026-10-29
- Active installs
- 10+ million
- Known issues on record
- 7
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 8.3+
Just another contact form plugin. Simple but flexible. — by Rock Lobster Inc.
What to do
- Update to the latest version (6.2.4.1). Anything older than 6.0.6 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get contact-form-7 --field=version shows what you run; wp plugin update contact-form-7 updates it.
Check your version
Known vulnerabilities
7 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
medium 5.3 CVE-2025-3247 · published 2025-04-16
Security issue in Contact Form 7 (6.0.5 and older)
- Affected
- 6.0.5 and older
- Fixed in
- 6.0.6 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Contact Form 7 plugin for WordPress is vulnerable to Order Replay in all versions up to, and including, 6.0.5 via the 'wpcf7_stripe_skip_spam_check' function due to insufficient validation on a user controlled key. This makes it possible for unauthenticated attackers to reuse a single Stripe PaymentIntent for multiple transactions. Only the first transaction is processed via Stripe, but the plugin sends a successful email message for each transaction, which may trick an administrator into fulfilling each order.
NVD CVE-2025-3247Wordfence advisoryCode change (fix)Plugin source
medium 6.1 CVE-2024-4704 · published 2024-06-27
Open redirect in Contact Form 7 (older than 5.9.5)
- Affected
- older than 5.9.5
- Fixed in
- 5.9.5
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a false URL and redirect to the URL of their choosing.
medium 6.1 CVE-2024-2242 · published 2024-03-13
Reflected cross-site scripting (XSS) in Contact Form 7 (5.9 and older)
- Affected
- 5.9 and older
- Fixed in
- 5.9.2 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘active-tab’ parameter in all versions up to, and including, 5.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
high 7.2 CVE-2023-6449 · published 2023-12-01
Arbitrary file upload in Contact Form 7 (5.8.3 and older)
- Affected
- 5.8.3 and older
- Fixed in
- 5.8.4 *
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function and insufficient blocklisting on the 'wpcf7_antiscript_file_name' function in versions up to, and including, 5.8.3. This makes it possible for authenticated attackers with editor-level capabilities or above to upload arbitrary files on the affected site's server, but due to the htaccess configuration, remote code cannot be executed in most cases. By default, the file will be deleted from the server immediately. However, in some cases, other plugins may make it possible for the file to live on the server longer. This can make remote code execution possible when combined with another vulnerability, such as local file inclusion.
NVD CVE-2023-6449Wordfence advisoryCode change (fix)contactform7.comgithub.comPlugin source
critical 10.0 CVE-2020-35489 · published 2020-12-17
Arbitrary file upload in Contact Form 7 (older than 5.3.2)
- Affected
- older than 5.3.2
- Fixed in
- 5.3.2
- Access needed (per CVSS)
- No login needed
- Range from
- NVD analysis · score by NVD
Details from the advisory
The contact-form-7 (aka Contact Form 7) plugin before 5.3.2 for WordPress allows Unrestricted File Upload and remote code execution because a filename may contain special characters.
NVD CVE-2020-35489WPScan advisorywordpress.orgcontactform7.comgetastra.comjinsonvarghese.com
critical 9.8 CVE-2018-20979 · published 2019-08-22
Privilege escalation in Contact Form 7 (older than 5.0.4)
- Affected
- older than 5.0.4
- Fixed in
- 5.0.4
- Access needed (per CVSS)
- No login needed
- Range from
- NVD analysis · score by NVD
Details from the advisory
The contact-form-7 plugin before 5.0.4 for WordPress has privilege escalation because of capability_type mishandling in register_post_type.
medium 5.0 CVE-2014-2265 · published 2014-03-14
Security issue in Contact Form 7 (3.7.1 and older, 3.6 only, 3.7 only)
- Affected
- 3.7.1 and older, 3.6 only, 3.7 only
- Fixed in
- 3.7.2 *
- Range from
- NVD analysis · score by NVD
Details from the advisory
Rock Lobster Contact Form 7 before 3.7.2 allows remote attackers to bypass the CAPTCHA protection mechanism and submit arbitrary form data by omitting the _wpcf7_captcha_challenge_captcha-719 parameter.
NVD CVE-2014-2265wordpress.orgcontactform7.comweb.archive.orgacunetix.comcvedetails.com
Recent activity
- 2026-10-29 — latest release on wordpress.org (6.2.4.1).
- 2025-04-16 — Security issue disclosed (CVE-2025-3247), fixed in 6.0.6.
- 2024-06-27 — Open redirect disclosed (CVE-2024-4704), fixed in 5.9.5.
- 2024-03-13 — Reflected cross-site scripting (XSS) disclosed (CVE-2024-2242), fixed in 5.9.2.
Get an email when Contact Form 7 has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Contact Form 7 (contact-form-7) is published or a fix ships. Unsubscribe in one click.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/contact-form-7 (Plugins API), fetched 2026-11-01.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-01. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/contact-form-7"><img src="https://laskyr.com/plugins/contact-form-7/badge.svg" alt="Contact Form 7 vulnerability status"></a>