What the vulnerability does
01Description
The The Contact Form & SMTP Plugin for WordPress by PirateForms plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.6.0. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
Explanation of Vulnerability in Simple Terms
02Summary
The Contact Form & SMTP Plugin for WordPress by PirateForms versions 2.6.0 and earlier contains a code injection vulnerability. An unauthenticated attacker can inject and execute arbitrary PHP code on the site without user interaction. This allows complete compromise of the WordPress installation, including data theft and malware installation.
What an attacker can do
03Attacker Capabilities
Run arbitrary PHP code on the site and take full control of the WordPress installation.
Potential impact on your site
04Site Impact
An attacker can steal data, modify content, install malware, or take over the entire WordPress site.
Conditions required to exploit
05Prerequisites
Network access only; no authentication or user interaction required.
Key dates
06Disclosure timeline
January 30, 2025
CVE published
April 8, 2026
Record updated