HT Contact Form <= 2.8.2 - Unauthenticated Stored Cross-Site Scripting via File Upload Field

7.2
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-7052
CVSS 7.2 (High)
Publicly Published May 27, 2026
Last Updated May 28, 2026
Researcher Azril Fathoni (kiseki) - Heroes Cyber Security

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for HT Contact Form – Drag & Drop Form Builder for WordPress

Software Type Plugin
Software Slug ht-contactform (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.8.3, or a newer patched version
Affected Version
  • <= 2.8.2
Patched Version
  • 2.8.3

Recent vulnerabilities in HT Contact Form – Drag & Drop Form Builder for WordPress

# Title CVE ID CVSS Researchers Date
1 HT Contact Form <= 2.9.2 - Unauthenticated Information Exposure CVE-2026-14206 5.3 Mustafa Ahmed August 6, 2026
2 HT Contact Form – Drag & Drop Form Builder for WordPress <= 2.8.2 - Unauthenticated Stored Cross-Site Scripting CVE-2026-42728 7.2 daroo May 20, 2026
3 HT Contact Form 7 <= 2.0.0 - Authenticated (Administrator+) Local File Inclusion CVE-2025-54015 6.6 Ananda Dhakal July 16, 2025
4 HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Unauthenticated Arbitrary File Upload CVE-2025-7340 9.8 vgo0 July 14, 2025
5 HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Directory Traversal to Arbitrary File Move CVE-2025-7360 9.1 Phat RiO July 14, 2025
6 HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Unauthenticated Arbitrary File Deletion CVE-2025-7341 9.1 vgo0 July 14, 2025
7 HT Conctact Form 7 <= 1.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-24726 6.4 Peter Thaleikis January 24, 2025
8 Contact Form 7 Widget For Elementor Page Builder & Gutenberg Blocks <= 1.1.5 - Cross-Site Request Forgery to Arbitrary Plugin Activation CVE-2023-0484 4.3 István Márton February 28, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation