What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
HT Contact Form versions up to 2.8.2 contain a stored cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts into form fields. These scripts execute in the browsers of site visitors and administrators who view the form or its submissions. The vulnerability affects the form builder's input handling and can compromise user sessions or steal sensitive data.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' browsers when they view the form or its submissions.
Potential impact on your site
04Site Impact
Visitors and admins viewing forms or submissions may have sessions hijacked, credentials stolen, or malware injected into their browsers.
Conditions required to exploit
05Prerequisites
No authentication or user interaction required; attacker can submit a malicious form directly.
Key dates
06Disclosure timeline
May 28, 2026
CVE published
May 28, 2026
Record updated