Wordpress Plugin
CVE-2025-54020
MEDIUM
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in Erik AntiSpam for Contact Form 7 cf7-antispam allows Cross Site Request Forgery.This issue affects AntiSpam for Contact Form 7: from n/a through <= 0.6.3.
AnalysisAI
Erik AntiSpam for Contact Form 7 plugin versions through 0.6.3 fails to implement proper CSRF token validation, allowing attackers to forge requests that modify plugin settings or trigger unintended actions on behalf of authenticated administrators. The vulnerability affects WordPress installations with this plugin active, though the extremely low EPSS score (0.02%) suggests practical exploitation barriers or limited real-world impact despite the CVSS categorization.
Technical ContextAI
Cross-Site Request Forgery (CWE-352) occurs when a web application does not properly validate that state-changing requests originate from legitimate, authenticated users rather than attacker-controlled sources. The Erik AntiSpam plugin for Contact Form 7, a WordPress anti-spam extension, lacks adequate CSRF token verification in its administrative functions. This allows an attacker to craft malicious web pages or emails containing requests that, when visited by an authenticated WordPress admin, execute unintended actions within the plugin's configuration or operation without the admin's knowledge or consent. The vulnerability is particularly relevant in WordPress plugin contexts where nonce validation should protect all admin forms.
Affected ProductsAI
Erik AntiSpam for Contact Form 7 (WordPress plugin, also referenced as cf7-antispam) versions 0.6.3 and earlier are affected. The exact range is described as 'from n/a through <= 0.6.3,' indicating all released versions up to and including 0.6.3 are vulnerable. The plugin is distributed via the WordPress Plugin Directory. More details are available in the Patchstack vulnerability database entry at https://patchstack.com/database/Wordpress/Plugin/cf7-antispam/vulnerability/wordpress-antispam-for-contact-form-7-plugin-0-6-3-cross-site-request-forgery-csrf-vulnerability.
RemediationAI
Update Erik AntiSpam for Contact Form 7 to a version newer than 0.6.3 as soon as available. WordPress administrators should navigate to their plugin management dashboard, locate 'AntiSpam for Contact Form 7,' and apply the latest update. If a patched version has not yet been released by the plugin vendor, administrators should consider temporarily deactivating the plugin until an update is available, then monitor the Patchstack database and plugin release notes for patch availability. Ensure all WordPress sites use a security-focused plugin management workflow that includes regular patching and nonce verification audits.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today