Contact Form 7 Material Design CVE-2025-30522
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSocial engineer admin to click link
-
DeliverySubmit CSRF request with admin session
-
ExploitInject malicious JavaScript into database
-
ExecutionXSS executes when form rendered
-
ImpactSteal session or escalate privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires WordPress administrator to be authenticated to the target site and simultaneously visit an attacker-controlled webpage or click a malicious link while the admin session is active. The plugin Contact Form 7 Material Design version 1.0.0 or earlier must be installed and activated. Exploitation depends on lack of anti-CSRF token validation in the plugin's admin request handlers - if the plugin implements proper nonce checking for form submissions, this vulnerability cannot be exploited. Attack success is limited by same-origin policy and WordPress session management; admin must have active cookies in the browser at time of CSRF trigger. The stored XSS component requires the plugin to lack output encoding when rendering stored configuration data. Limiting factors include: administrator must have privileges to modify plugin settings (typically requires 'manage_options' capability), WordPress must not have additional CSRF protections from security plugins or hosting-level WAF, and browser must not have strict SameSite cookie policies blocking cross-origin request credentials. |
| Impact | Real-world exploitation risk is moderate despite the 7.1 CVSS score. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L shows network-accessible attack with low complexity, but critically requires user interaction (UI:R) - specifically, an authenticated WordPress administrator must be social-engineered into clicking a malicious link or visiting an attacker-controlled page while logged in. The EPSS score of 0.08% (24th percentile) suggests security researchers assess actual exploitation probability as low, likely due to the multi-step attack requirement and limited attack surface (WordPress admin-level access needed for impact). Not present in CISA KEV, indicating no confirmed active exploitation. No public POC identified at time of analysis. The stored XSS payload could enable session hijacking, privilege escalation, or site defacement, but only affects sites running this specific plugin version 1.0.0 or earlier. SSVC framework assessment: exploitation status is none (no POC/KEV), automatable is no (requires targeted social engineering), technical impact is partial (limited by WordPress sandbox and user privileges). Priority should be moderate for sites using this plugin with multiple admin users or where admins regularly interact with external links. |
| Exploit ScenarioDerived | An attacker crafts a malicious webpage containing hidden forms or JavaScript that generate forged POST requests to the vulnerable WordPress site's admin endpoints. The attacker distributes the URL via phishing email, forum post, or compromised site, targeting administrators of WordPress installations running Contact Form 7 Material Design. When an authenticated WordPress admin visits the malicious page while logged in, their browser automatically submits the CSRF request with valid session cookies, injecting attacker-controlled JavaScript into the plugin's database-stored configuration. Subsequently, when any user (admin or visitor) views pages containing the affected Contact Form 7 Material Design elements, the stored XSS payload executes, potentially stealing session tokens, creating rogue admin accounts, or redirecting users to phishing sites. No public POC exists at time of analysis, but the attack pattern is well-understood for WordPress CSRF vulnerabilities. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 25, 2026
Cross-Site Request Forgery in Contact Form 7 Material Design plugin versions up to 1.0.0 allows attackers to trick authenticated administrators into executing malicious requests that inject persistent JavaScript, achieving Stored XSS. CVSS 7.1 reflects the changed scope (S:C) and multi-stage attack requiring user interaction. EPSS score of 0.08% (24th percentile) indicates low probability of mass exploitation, with no evidence of active exploitation (not in CISA KEV) or public POC at time of analysis. This CSRF-to-XSS chain targets WordPress site administrators.
Earlier versions of this analysis (1)
Cross-Site Request Forgery (CSRF) vulnerability in Damian Orzol Contact Form 7 Material Design allows Stored XSS.0.0. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
RemediationAI
Upstream fix available; released patched version not independently confirmed from available data. Check the WordPress plugin repository or contact plugin author Damian Orzol for versions newer than 1.0.0 that address CVE-2025-30522. Until a confirmed patch is applied, implement compensating controls: (1) Restrict WordPress admin access to trusted IP ranges via .htaccess or firewall rules, reducing CSRF attack surface but limiting remote administration; (2) Install a Web Application Firewall with CSRF token validation for WordPress admin endpoints, though this may cause false positives with legitimate admin workflows; (3) Educate administrators to avoid clicking external links while logged into WordPress and to use separate browser profiles for admin access versus general browsing; (4) If Material Design styling is non-critical, deactivate and remove the plugin entirely until a security-reviewed version is available. Monitor Patchstack advisory at https://patchstack.com/database/wordpress/plugin/cf7-material-design/ for official patch announcements. After patching, review WordPress database tables for injected script tags in form configurations or plugin settings from the stored XSS component.
Affected ProductsAI
WordPress plugin Contact Form 7 Material Design versions from initial release through 1.0.0 are affected. Vendor is Damian Orzol. The vulnerability database entry is documented at Patchstack with references https://patchstack.com/database/wordpress/plugin/cf7-material-design/vulnerability/wordpress-contact-form-7-material-design-plugin-1-0-0-csrf-to-stored-xss-vulnerability. No CPE data available in NVD at time of analysis, suggesting this is a recently disclosed vulnerability pending full NVD enrichment.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability chains two CWE classes: CWE-352 (Cross-Site Request Forgery) as the initial vector enabling CWE-79 (Stored Cross-Site Scripting) as the consequence. Contact Form 7 Material Design is a WordPress plugin that provides Material Design styling for Contact Form 7 forms. The CSRF weakness allows attackers to forge requests on behalf of authenticated administrators, bypassing the plugin's lack of proper nonce validation or anti-CSRF tokens. When an admin is tricked into visiting a malicious site or clicking a crafted link while authenticated, the forged request injects malicious JavaScript that persists in the WordPress database, creating a stored XSS condition that executes whenever any user views the affected form or plugin settings page. The changed scope (S:C) in the CVSS vector indicates the vulnerability can affect resources beyond the vulnerable component itself, typical of XSS that executes in victim browsers.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in Damian Orzol Contact Form 7 Material Design allows Stored XSS. This issue affects Contact Form 7 Material Design: from n/a through 1.0.0.
Executive ViewAI
Contact Form 7 Material Design plugin versions up to 1.0.0 contain a cross-site request forgery vulnerability that allows attackers to inject persistent JavaScript into WordPress sites when administrators are socially engineered into clicking malicious links. This affects any organization running this plugin and could enable attackers to deface sites, steal administrator credentials, or inject malware affecting all site visitors.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative dashboard access to corporate IP ranges only; (2) enforce multi-factor authentication for all WordPress administrator accounts; (3) disable the plugin immediately if not essential; (4) implement Content Security Policy headers to restrict inline script execution; (5) educate administrators to avoid clicking links from untrusted sources directing them to the WordPress dashboard; (6) deploy WordPress security plugins that monitor and alert on unauthorized JavaScript injection.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB