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

High 7.2 Published Updated

Unauthenticated attackers can inject scripts via file upload fields in HT Contact Form, leading to code execution when admins view submissions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7052?

CVE-2026-7052 is a high-severity cross-site scripting vulnerability in htplugins HT Contact Form – Drag & Drop Form Builder for WordPress, published on 28 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-7052?

How do I fix CVE-2026-7052?

No fix has been published for CVE-2026-7052 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-7052 being exploited?

There is no known exploitation of CVE-2026-7052 in the wild and no public exploit code.

Sources

Also known as GHSA-jvfv-xgr4-q7p3.

Is CVE-2026-7052 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free