Contact Form 7 <= 5.0.3 - Authorization Bypass

6.3
Improper Authorization
CVE CVE-2018-20979
CVSS 6.3 (Medium)
Publicly Published September 4, 2018
Last Updated January 22, 2024
Researcher Simon Scannell

Description

The Contact Form 7 plugin for WordPress is vulnerable to authorization bypass due to capability_type mishandling in register_post_type in versions up to, and including, 5.0.3. This makes it possible for authenticated attackers with contributor level privileges and above to modify contact forms and potential supply paths to sensitive files that make sensitive information disclosure possible.

References

Share

Vulnerability Details for Contact Form 7

Software Type Plugin
Software Slug contact-form-7 (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.0.4, or a newer patched version
Affected Version
  • < 5.0.4
Patched Version
  • 5.0.4

Recent vulnerabilities in Contact Form 7

# Title CVE ID CVSS Researchers Date
1 Contact Form 7 <= 6.0.5 - Order Replay Vulnerability CVE-2025-3247 5.3 Asaf Mozes April 15, 2025
2 Contact Form 7 <= 5.9.4 - Unauthenticated Open Redirect CVE-2024-4704 6.1 William Bastos June 5, 2024
3 Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting CVE-2024-2242 6.1 Asaf Mozes March 13, 2024
4 Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload CVE-2023-6449 6.6 István Márton November 30, 2023
5 Contact Form 7 <= 5.3.1 - Arbitrary File Upload via Bypass CVE-2020-35489 8.1 Jinson Varghese Behanan December 17, 2020
6 Contact Form 7 <= 3.5.2 - Arbitrary File Upload 9.8 Eugene Dokukin August 1, 2014
7 Contact Form 7 < 3.7.2 - CAPTCHA Bypass CVE-2014-2265 5.3 Hannah Sharp February 26, 2014

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation