CVE-2026-7052 HIGH

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

Vendor Htplugins
Product HT Contact Form – Drag & Drop Form Builder for WordPress
Weakness CWE-79 · XSS
Published May 28, 2026
Last update May 28, 2026

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

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

Related vulnerabilities

08Related CVE