CVE-2026-7052
Stored XSS in HT Contact Form WordPress Plugin
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wpforms | ht_contact_form | to 2.8.2 (inc) |
Helpful Resources
Exploitability
| 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.