CVE-2026-7052 HT Contact Form <= 2.8.2 - Unauthenticated Stored Cross-Site Scripting via File Upload Field
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- WordPress
Description
The HT Contact Form – Drag & Drop Form Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'file_upload' parameter in all versions up to, and including, 2.8.2 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 the 'Store Submissions' setting to be enabled, as this controls whether unsanitized field values are persisted to the database and subsequently rendered via dangerouslySetInnerHTML in the admin entry viewer.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| htplugins HT Contact Form – Drag & Drop Form Builder for WordPress | <= 2.8.2 | after 2.8.2 | Fixed |
| wordpress ht-contactform(WordPress) | < 2.8.3 | 2.8.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| htplugins HT Contact Form – Drag & Drop Form Builder for WordPress | <= 2.8.2 | No fix listed |
| wordpress ht-contactform(WordPress) | < 2.8.3 | 2.8.3 |