10,000 WordPress Sites Affected by Critical Vulnerabilities in HT Contact Form WordPress Plugin

On June 24th, 2025, Wordfence received a submission for an Arbitrary File Upload and an Arbitrary File Deletion vulnerability in HT Contact Form, a WordPress plugin with more than 10,000 active installations. The arbitrary file upload vulnerability can be used by unauthenticated attackers to upload arbitrary files to a vulnerable site and achieve remote code execution, which is typically leveraged for a complete site takeover. The arbitrary file deletion vulnerability can be used by unauthenticated attackers to delete arbitrary files, including the wp-config.php file, which can also make a site takeover possible.

On July 4th, 2025, Wordfence also received a submission for an Arbitrary File Move vulnerability in HT Contact Form. This vulnerability can be used by unauthenticated attackers to move arbitrary files, including the wp-config.php file, which can also make a site takeover possible.

All Wordfence users are protected against any exploits targeting these vulnerabilities by the Wordfence firewall’s built-in Malicious File Upload and Directory Traversal protections.

Props to vgo0 and Phat RiO – BlueRock, who discovered and responsibly reported these vulnerabilities through the Wordfence Bug Bounty Program. These researchers earned bounties of $1,431.00, $991.00 and $675.00 for their discoveries.

Wordfence contacted the HasTech IT team on July 8, 2025, and they registered on our Wordfence Vulnerability Management Portal for WordPress vendors on July 9, 2025. After receiving the full disclosure details instantly through the portal, the developer released the patch on July 13, 2025. We would like to commend the HasTech IT team for their prompt response and timely patch.

We urge users to update their sites with the latest patched version of HT Contact Form, version 2.2.2 at the time of this writing, as soon as possible.

Source and more details: https://www.wordfence.com/blog/2025/07/10000-wordpress-sites-affected-by-critical-vulnerabilities-in-ht-contact-form-wordpress-plugin

Posted in Vulnerability.