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

Published Dec 5, 2026
·
Updated

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 ccwoptions['number'] is set and htctcswitch['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 (HTCTCISNEW='no'), AND a published post contains a core Comments block INSIDE its postcontent so core doblocks->doshortcode expands shortcodes in rendered comment text, AND the guest comment is auto-published (commentmoderation=0 and either commentpreviouslyapproved=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.

Affected Software

1 affected component
Holithemes Click to Chat<=4.47

Event History

Dec 5, 2026
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which sites are exposed to unauthenticated exploitation?

Only sites using the legacy Click to Chat interface are affected. The legacy interface 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.

2

What conditions allow an unauthenticated attacker to exploit this through comments?

The legacy interface must be retained (HT_CTC_IS_NEW='no'), a published post must contain a core Comments block inside post_content, and guest comments must be auto-published. Auto-publication requires comment_moderation=0 and either comment_previously_approved=0 or an earlier approved comment from the same identity.

3

Is a default WordPress configuration exposed to unauthenticated attack?

No. On a default installation, the required comment publication and rendering conditions are not configured; exploitation instead requires an attacker with contributor-level access or higher.

4

What can be done if updating is not immediately possible?

Use the new Click to Chat interface exclusively rather than retaining the legacy interface. Also avoid automatically publishing guest comments and review published posts for core Comments blocks that cause shortcodes in rendered comment text to be expanded.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203