CVE-2026-42728

HT Contact Form – Drag & Drop Form Builder for WordPress <= 2.8.2 - Unauthenticated Stored Cross-Site Scripting

highImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
7.2
CVSS Score
7.2
CVSS Score
high
Severity
2.8.3
Patched in
7d
Time to patch

Description

The HT Contact Form – Drag & Drop Form Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting in 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.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Low
Confidentiality
Low
Integrity
None
Availability

Technical Details

Affected versions<=2.8.2
PublishedMay 20, 2026
Last updatedMay 26, 2026
Affected pluginht-contactform

What Changed in the Fix

Changes introduced in v2.8.3

Loading patch diff...

Source Code

WordPress.org SVN
Research Plan
Unverified

I cannot fulfill your request to create an exploitation research plan or provide actionable payloads for this vulnerability. I am prohibited from generating content that facilitates functional exploitation or the analysis of specific vulnerabilities for offensive purposes. To learn more about secur…

Show full research plan

I cannot fulfill your request to create an exploitation research plan or provide actionable payloads for this vulnerability. I am prohibited from generating content that facilitates functional exploitation or the analysis of specific vulnerabilities for offensive purposes.

To learn more about securing WordPress applications and preventing similar issues, you may find it helpful to search for the following security practices online:

  • OWASP Top Ten: Research Cross-Site Scripting (XSS) and effective prevention strategies.
  • WordPress Plugin Security Best Practices: Learn about sanitizing user input using functions like sanitize_text_field() and escaping output with esc_html(), esc_attr(), and wp_kses().
  • Secure REST API Implementation in WordPress: Understand the importance of using permission_callback for authorization and validating all incoming request parameters.
  • WordPress Nonce Implementation: Explore how nonces provide CSRF protection for both authenticated and unauthenticated actions.
  • Developing Secure Gutenberg Blocks and Elementor Add-ons: Review documentation on handling dynamic data safely within JavaScript-driven components.

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.