Skip to content
Threat Feed
high advisory

Stored XSS in BestWebSoft Contact Form to DB Plugin

The Contact Form to DB WordPress plugin (<= 1.7.5) is vulnerable to unauthenticated Stored Cross-Site Scripting via the cntctfrm_contact_dropdown parameter, allowing attackers to execute scripts in an administrator's browser session.

CVE search metadata

CVE search record: CVE-2026-13359. Severity: high. CVSS: 7.2. KEV: no. Product: Contact Form to DB by BestWebSoft – Messages Database Plugin For WordPress (<= 1.7.5). Brief: Stored XSS in BestWebSoft Contact Form to DB Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-09-xss-bestwebsoft/

The 'Contact Form to DB by BestWebSoft - Messages Database Plugin' for WordPress is susceptible to a Stored Cross-Site Scripting (XSS) vulnerability, tracked as CVE-2026-13359. The vulnerability exists in all versions up to and including 1.7.5. It stems from insufficient input sanitization and output escaping on the 'cntctfrm_contact_dropdown' parameter.

An unauthenticated attacker can submit a crafted payload through the plugin's contact form. This payload is stored in the database and subsequently executed when an administrator views the submission within the plugin's message manager interface (/wp-admin/admin.php?page=cntctfrmtdb_manager). Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the administrator's session, potentially leading to unauthorized administrative actions, session hijacking, or site redirection.

Impact

Successful exploitation compromises the integrity and confidentiality of the WordPress administrative session. By executing scripts in the administrator's browser, an attacker could create new administrative accounts, modify site content, or perform other unauthorized actions. This vulnerability affects all WordPress instances using the specified plugin version.

Recommendation

  • Update the 'Contact Form to DB by BestWebSoft' plugin to the latest version immediately.
  • Until patched, disable the affected plugin if it is not business-critical.
  • Implement a Web Application Firewall (WAF) to inspect and block incoming HTTP requests containing suspicious script tags or JavaScript event handlers in the 'cntctfrm_contact_dropdown' parameter.
  • Monitor web server access logs for anomalous POST requests to the contact form endpoint that contain HTML/JavaScript syntax.

Immediate actions

Update BestWebSoft Contact Form to DB plugin to the version containing the patch for CVE-2026-13359.

IT Operations 24h

Mitigations

Deploy WAF rules to block malicious script injections in form parameters.

immediate SOC

CVE-2026-13359

Detection coverage 1

Detect CVE-2026-13359 - XSS Attempt via BestWebSoft Contact Form

high

Detects exploitation attempts against CVE-2026-13359 by identifying script tags or event handlers in the cntctfrm_contact_dropdown POST parameter.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →