CVE-2026-42728 WordPress HT Contact Form 7 plugin <= 2.8.2 - Cross Site Scripting (XSS) vulnerability

High 7.1 Published Updated

Attackers can inject malicious scripts into the HT Contact Form 7 plugin, potentially compromising user sessions or site integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-42728?

CVE-2026-42728 is a high-severity cross-site scripting vulnerability in HT Contact Form 7, published on 27 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HT Plugins HT Contact Form 7 ht-contactform allows Stored XSS.This issue affects HT Contact Form 7: from n/a through <= 2.8.2.

Weakness: CWE-79

Which versions are affected by CVE-2026-42728?

How do I fix CVE-2026-42728?

No fix has been published for CVE-2026-42728 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-42728 being exploited?

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

Sources

Also known as GHSA-9m37-mfhg-pv2m.

Is CVE-2026-42728 in your software?

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

Check your SBOMs for free