CVE-2026-137047

Click to Chat <= 4.47 - Unauthenticated Stored Cross-Site Scripting via 'position' Shortcode Attribute

Published Dec 5, 2026 CVSS 3.1 · 7.2 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values 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.
Title Click to Chat <= 4.47 - Unauthenticated Stored Cross-Site Scripting via 'position' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Dec 5, 2026, 9:28 AM
Reserved
Nov 25, 2026, 5:41 PM

No data.