CVE-2026-137047
Click to Chat <= 4.47 - Unauthenticated Stored Cross-Site Scripting via 'position' Shortcode Attribute
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.
INFO
Published Date :
Dec. 5, 2026, 10:17 a.m.
Last Modified :
Dec. 5, 2026, 10:17 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | MITRE-CVE | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Click to Chat plugin to version 4.48.
- Ensure the legacy interface is disabled.
- Sanitize user input rigorously.
- Escape output properly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-137047.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-137047 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-137047
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-137047 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-137047 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Dec. 05, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-79 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/137xxx/CVE-2026-137047.json">CVE-2026-137047</a> Added Reference https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp/tags/4.47/prev/inc/class-ccw-shortcode.php#L233 Added Reference https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp/tags/4.47/prev/inc/class-ccw-shortcode.php#L249 Added Reference 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 Added Reference https://plugins.trac.wordpress.org/browser/click-to-chat-for-whatsapp?rev=3838999 Added Reference https://plugins.trac.wordpress.org/changeset/3838999/click-to-chat-for-whatsapp/trunk/prev/inc/commons/styles-list-sc/sc-style-99.php Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/090882d4-b220-4b4c-ae87-ad725f3b6823?source=cve