CVE-2026-137047
7.2HighPublished Dec 5, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Limited impact
- Weakness
- CWE-79
What an attacker gets
Unauthenticated attackers can inject malicious scripts into pages via stored XSS. This requires the legacy interface to be active and specific comment block configurations.
Root cause
The plugin fails to sanitize the 'position' parameter before storing and rendering it.
Affected versions
Click to Chat – HoliThemes plugin for WordPress versions up to and including 4.47
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Fix & remediation
Update to the latest version of the Click to Chat plugin. If you cannot update, switch the plugin interface to the new version by setting ht_ctc_switch['interface'] to 'yes'.
$ wp plugin update click-to-chat-for-whatsappAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
The Click to Chat – HoliThemes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'position' parameter in all versions up to, and including, 4.47 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. This vulnerability only affects sites using the legacy interface, which is active when ccw_options['number'] is set and ht_ctc_switch['interface'] is not 'yes'; sites running exclusively the new interface are not affected. Exploitation by unauthenticated attackers requires that legacy Click to Chat interface retained (HT_CTC_IS_NEW='no'), AND a published post contains a core Comments block INSIDE its post_content so core do_blocks->do_shortcode expands shortcodes in rendered comment text, AND the guest comment is auto-published (comment_moderation=0 and either comment_previously_approved=0 or a prior approved comment from the same identity). On a default installation, where that is not configured, the vulnerability requires attackers with contributor-level access and above.
References
- https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp/tags/4.47/prev/inc/class-ccw-shortcode.php#L233
- https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp/tags/4.47/prev/inc/class-ccw-shortcode.php#L249
- https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp/tags/4.47/prev/inc/commons/styles-list-sc/sc-style-99.php#L45
- https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp?rev=3838999
- https://plugins.trac.wordpress.org/changeset/3838999/click-to-chat-for-whatsapp/trunk/prev/inc/commons/styles-list-sc/sc-style-99.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/090882d4-b220-4b4c-ae87-ad725f3b6823?source=cve
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-970187.2HighUnauthenticated attackers can execute arbitrary JavaScript in a user's browser via stored XSS. This occurs if the 'Allow guest bookings' setting is enabled.
- CVE-2026-1449167.3HighUnauthenticated remote attackers can access and manipulate the Connector Serve API. This allows unauthorized interaction with the underlying database connector.
- CVE-2026-1426859.8CriticalUnauthenticated attackers can take over any WordPress administrator account. They do this by triggering arbitrary PHP function calls through a shortcode attribute.
- CVE-2026-1426409.8CriticalUnauthenticated attackers can take over existing administrator accounts by injecting arbitrary function calls. This requires the WordPress Search block to be active on a page or widget.
- CVE-2026-1425097.2HighUnauthenticated attackers can inject malicious scripts into your site, which execute in the browsers of users viewing the checkout page. This occurs because the plugin fails to sanitize input on the parcel locker ID parameter.
- CVE-2026-1419977.5HighRemote servers can crash your Node.js application by sending a specific HTTP response that triggers an uncaught exception. This requires no authentication and happens regardless of your application's error handling.