HT Contact Form – Drag & Drop Form Builder for WordPress: Cross-site scripting
HT Contact Form (affected: <= 2.10.1). An unauthenticated attacker can save script markup in form_data's Rich Text draft field and obtain draft_key and access_token from the response. The attacker then lures a victim to that draft's resume URL; unsafe DOM rendering of the stored rich text executes script. The exact save route and browser sink are unspecified.
- Component
- HT Contact Form – Drag & Drop Form Builder for WordPress
- Plugin slug
ht-contactform- Affected
- <= 2.10.1
- Safe version
2.10.2- Published
- Sep 25, 2026
This CVE was published Sep 25, 2026 and is one of 10 known issues for this plugin.
Update, patch or deactivate.
Update to 2.10.2 or a later supported release. The official changelog confirms remediation for this issue. Sanitize rich text with an explicit allowed-markup policy and avoid unsafe DOM insertion when restoring drafts; continue treating token-bearing resume links and older saved drafts as untrusted.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The HT Contact Form – Drag & Drop Form Builder for WordPress plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via 'form_data' Rich Text Field via Draft Save/Resume in all versions up to, and including, 2.10.1 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. Exploitation requires tricking a user into clicking an attacker-supplied draft resume URL, which the attacker constructs using the draft_key and access_token returned directly in the save response.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Primary and upstream sources
- NVD record for CVE-2026-93303
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- Wordfence advisory wordfence.com