4.4.6.2
·
71 commits
to master
since this release
= 4.4.6.2 (3 Apr 2024) =
- Implemented stricter attribute sanitization in SWP_Buttons_Panel_Shortcode class to enhance security and mitigate the risk of cross-site scripting (XSS) attacks through shortcode attributes. This update introduces a more rigorous sanitization process for all attributes passed through the shortcode handling mechanism. The
sanitize_attributesmethod now applies basic sanitization usingsanitize_text_field, followed by a secondary sanitization step using a regex pattern to remove any remaining special characters that could be used in malicious injections.- Enhanced
sanitize_attributesmethod in SWP_Buttons_Panel_Shortcode class - Added regex pattern to remove special characters from attribute values after initial sanitization
- Enhanced