Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit contact form with JS payload in dropdown param
-
DeliveryPlugin stores unsanitized value in WordPress database
-
ExploitAdmin opens message manager page
-
ExecutionStored script executes in admin browser session
-
ImpactAttacker captures session token or creates rogue admin account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The plugin Contact Form to DB by BestWebSoft must be installed and active on the WordPress site, and the associated contact form must be accessible to unauthenticated (anonymous) visitors - this is the default deployment. An administrator must subsequently visit the message manager page ( |
| Impact | The provided CVSS vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, 7.2) overstates exploitability on the UI metric. The payload only fires when an admin opens the message manager page - a UI:R condition - not spontaneously. With UI:R the score would drop to approximately 6.1 (Medium). Despite the corrected metric, real-world risk is meaningful: the attack chain requires only an anonymous form submission (zero barriers), and administrator session compromise is a reliable outcome once the admin checks their messages, which is routine. Scope change (S:C) is correctly applied because the XSS context crosses from the unauthenticated web tier into the authenticated admin session. No EPSS data was provided in the intelligence, and the CVE is absent from CISA KEV, so exploitation probability is inferred rather than measured. The trac changeset reference suggests a fix has been committed, reducing urgency for patched sites. The primary real-world risk is full WordPress admin account takeover on any unpatched site, from a completely unauthenticated starting position. |
| Exploit ScenarioDerived | An anonymous attacker submits a contact form on the target WordPress site with a JavaScript payload embedded in the dropdown/select parameter ( |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Stored Cross-Site Scripting in the Contact Form to DB by BestWebSoft WordPress plugin (versions ≤1.7.5) allows unauthenticated attackers to compromise administrator sessions via a malicious contact form submission. The cntctfrm_contact_dropdown parameter lacks input sanitization and output escaping, so injected JavaScript persists in the plugin's message store and executes automatically in the admin's browser context when they navigate to the message manager page at /wp-admin/admin.php?page=cntctfrmtdb_manager. No public exploit or CISA KEV listing has been identified at time of analysis, but the low attack complexity and zero-prerequisite submission path make this trivially weaponizable against any site with the plugin installed.
RemediationAI
Update the Contact Form to DB plugin to the version released after changeset 3624996 - the exact patched release version was not independently confirmed from the available data, so administrators should check the WordPress plugin repository changelog and install the latest available release beyond 1.7.5. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/838dd2f9-22e3-4833-9f55-09bd729fd6ed should be consulted for the confirmed fixed version. If an immediate patch cannot be applied, administrators can disable the plugin temporarily, which eliminates the vulnerable form submission endpoint and the admin message manager rendering path entirely. Restricting access to the WP Admin area by IP (via server-level rules or a WAF) reduces exposure of the admin trigger page, but does not prevent malicious payloads from being stored via the public-facing form.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the BestWebSoft 'Contact Form to DB' WordPress plugin (CPE: cpe:2.3:a:bestweblayout:contact_form_to_db_by_bestwebsoft_-_messages_database_plugin_for_wordpress:*:*:*:*:*:*:*:*), which stores contact form submissions in a custom WordPress database table and presents them via a WP Admin page. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the plugin reads the cntctfrm_contact_dropdown POST parameter, stores it without sanitization, and later renders stored values without output escaping in the admin message manager view. The Wordfence trac references point to lines 582 and 2035 of contact_form_to_db.php in version 1.7.4 as the vulnerable storage and rendering paths respectively, confirming a classic stored XSS pattern rather than a reflected or DOM-based variant.
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:N/S:C/C:L/I:L/A:N
Payload delivery is unauthenticated (PR:N, AV:N), but execution requires admin to visit the manager page (UI:R); scope change applies as script runs in privileged admin session.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Contact Form to DB by BestWebSoft - Messages Database Plugin For WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via cntctfrm_contact_dropdown Parameter in all versions up to, and including, 1.7.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The injected payload executes in the context of an administrator's browser session when they visit the plugin's message manager page at /wp-admin/admin.php?page=cntctfrmtdb_manager, making it possible to compromise administrator-level sessions via a simple unauthenticated contact form submission.
Articles & Coverage 2
Executive ViewAI
Contact Form to DB by BestWebSoft plugin (versions 1.7.5 and earlier) contains a stored cross-site scripting vulnerability that allows any website visitor to inject malicious code through a contact form submission, which automatically executes in administrator browsers when they review submitted messages. This vulnerability directly compromises administrative accounts, granting attackers complete control of the website, including access to all customer data, content, and business systems. Organizations running this plugin face immediate risk of data breaches, unauthorized website modifications, and potential malware distribution to customers and partners.
No vendor-released patch identified at time of analysis. Immediately disable the plugin and plan migration to an alternative contact form solution with active security maintenance. If the plugin must remain active during transition, implement a Web Application Firewall (WAF) with rules blocking submissions containing XSS payloads to the contact form endpoint, restrict administrative access to the plugin's message manager page via WordPress role-based access controls, monitor all administrator authentication logs for unauthorized access or anomalous activity, and implement database-level sanitization to remove scripts from all stored submissions. Conduct a complete forensic review of existing stored contact messages to identify and remediate any embedded malicious payloads.
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.
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
EUVD-2026-74566
GHSA-wc2g-rq32-7mv5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB