[4.5.6] - 2025-03-18
Security Fix: Sanitize clickToTweet Attributes to Prevent XSS
Description:
This update enhances security by properly sanitizing and escaping user inputs in the clickToTweet shortcode. It prevents potential stored XSS vulnerabilities by:
- Sanitizing the
themeattribute usingsanitize_html_class(). - Escaping output with
esc_attr()andesc_html(). - Validating
tweetinput withsanitize_text_field().