PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-7795 holithemes CVE debrief

The Click to Chat – WA Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [chat] shortcode 'num' parameter in all versions up to, and including, 4.38. This is due to insufficient escaping when embedding user-supplied shortcode attribute values inside JavaScript string literals that are then placed in HTML event-handler attributes.

Vendor
holithemes
Product
Click to Chat – HoliThemes
CVSS
MEDIUM 6.4
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-06
Original CVE updated
2026-06-08
Advisory published
2026-06-06
Advisory updated
2026-06-08

Who should care

Authenticated attackers with Contributor-level access and above can inject arbitrary web scripts into pages that will execute whenever a user clicks the WhatsApp chat button rendered by the [chat] shortcode.

Technical summary

The CCW_Shortcode::shortcode() function applies esc_attr() to the 'num' parameter, which converts single quotes to the HTML entity '. However, browsers HTML-decode event attribute values before executing the embedded JavaScript, allowing the injected payload to break out of the JavaScript string context and execute arbitrary code.

Defensive priority

MEDIUM

Recommended defensive actions

  • Update to a patched version of the Click to Chat – WA Widget plugin (version 4.39 or later).
  • Limit access to the plugin's shortcode functionality to trusted users only.

Evidence notes

The vulnerability was reported by [email protected].

Official resources

CVE-2026-7795 was published on 2026-06-06T04:17:40.870Z and modified on 2026-06-08T14:57:14.757Z.