Home Cyber Security News Serious File Upload Vulnerability In Contact Form 7 Threatened Millions Of Websites

Serious File Upload Vulnerability In Contact Form 7 Threatened Millions Of Websites

by Abeerah Hashim

Heads up, WordPress admins. A critical vulnerability that potentially threatened the security of millions of websites has recently received a fix. Specifically, a file upload vulnerability in the WordPress plugin Contact Form 7 could allow an adversary to upload malicious content and inject codes on websites. While the fix is just out, make sure to have the latest plugin version 5.3.2 running on your websites.

Contact Form 7 Vulnerability

Researchers from the security firm Astra have recently discovered a critical file upload vulnerability in the Contact Form 7 plugin.

As elaborated in their blog post, the researchers observed an unrestricted file upload bug that could allow an attacker to upload malicious content on target websites.

By exploiting this vulnerability, attackers could simply upload files of any type, bypassing all restrictions placed regarding the allowed upload-able file types on a website. Further, it allows an attacker to inject malicious content such as web shells into the sites.

Specifically, an adversary could exploit the bug to inject malicious scripts, upload a web shell, or deface websites. Whereas, in situations where the servers lack containerization between websites, this vulnerability could allow the attacker to take over websites.

Patch Released – Update Now!

The vulnerability affected all plugin versions up to 5.3.1. It means also every other website running this plugin is prone to exploitation for now.

Thankfully, the Contact Form 7 plugin developer acted quickly to address the bugs.

While Astra researchers disclosed the bug to the developer yesterday, December 16, 2020, the developer managed to deploy a fix within a day.

Hence, on December 17, 2020, Contact Form 7 version 5.3.2 has been released with the fix.

Contact Form 7 is a popular WordPress plugin that facilitates websites in managing multiple contact forms simultaneously.

According to the plugin page, Contact Form 7 presently boasts over 5 million downloads. It means that the vulnerability also potentially affected millions of websites.

However, as usual, most websites are still running the older plugin versions. According to the stats available at the time of writing this article, only 30.6% of sites are running the plugin version 5.3. Whereas, a majority of sites (32.7%) are still running version 5.1.

Perhaps, that’s why the researchers have been kind enough to not disclose explicit details about the exploit. As they mentioned in their post, they will reveal further information after two weeks from today.

More details on the vulnerability will be added after a period of two weeks, to give users enough time to update and take necessary action to ensure they’re safe.

Now that the bug has caught attention, and the fix is out, all WordPress admins should ensure updating their websites with the latest plugin version at the earliest to avoid any mishap.

You may also like

1 comment

Christian December 19, 2020 - 11:35 am

Yes we saw that vulnerability in our end and we’ve decided to switch to this plugin:
It’s also free and it has lots of free templates. Recommended on our side.

Comments are closed.

Latest Hacking News

Privacy Preference Center


The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]


DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.



The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid