CVE-2026-7052
Deferred Deferred - Pending Action
Stored XSS in HT Contact Form WordPress Plugin

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: Wordfence

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-28
AI Q&A
2026-05-28
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wpforms ht_contact_form to 2.8.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The HT Contact Form – Drag & Drop Form Builder for WordPress plugin is vulnerable to Stored Cross-Site Scripting (XSS) via the 'file_upload' parameter in all versions up to and including 2.8.2.

This vulnerability exists because the plugin does not properly sanitize input or escape output, allowing unauthenticated attackers to inject arbitrary web scripts.

These injected scripts execute whenever a user accesses a page containing the malicious content.

Exploitation requires the 'Store Submissions' setting to be enabled, which causes unsanitized field values to be saved in the database and rendered unsafely in the admin entry viewer.


How can this vulnerability impact me? :

This vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website.

Such script execution can lead to theft of sensitive information, session hijacking, defacement, or other malicious actions performed on behalf of users who view the injected content.

Because the attack can be performed by unauthenticated users and affects administrative interfaces, it poses a significant security risk.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should disable the 'Store Submissions' setting in the HT Contact Form – Drag & Drop Form Builder plugin for WordPress. This setting controls whether unsanitized field values are saved to the database and rendered in the admin entry viewer, which is the vector for the stored cross-site scripting attack.

Additionally, updating the plugin to a version later than 2.8.2, once available, would be recommended to ensure the vulnerability is patched.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart