Click To Chat – Holithemes
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.