CVE-2026-137047
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| holithemes | click_to_chat_holithemes | {"endIncluding":"4.47"} | |
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
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.