The Switch CTA Box plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wppw_cta_box' shortcode in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping on user-supplied post meta values including 'cta_box_button_link', 'cta_box_button_id', 'cta_box_button_text', and 'cta_box_description'. The shortcode reads post meta from a user-specified post ID and echoes these values directly into HTML output without any escaping functions (no esc_attr(), esc_url(), or esc_html()). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
The Switch CTA Box WordPress plugin versions up to 1.1 contains a Stored Cross-Site Scripting vulnerability in the 'wppw_cta_box' shortcode due to insufficient input sanitization and output escaping of post meta values. Authenticated contributors and above can inject malicious scripts that execute for all users viewing affected pages.
تحتوي إضافة Switch CTA Box للووردبريس على ثغرة XSS مخزنة في shortcode 'wppw_cta_box' حيث لا يتم تنظيف المدخلات بشكل كافٍ أو الهروب من القيم المخزنة في بيانات المنشور الوصفية. يمكن للمستخدمين المصرح لهم على مستوى المساهم وما فوق حقن نصوص برمجية ضارة تُنفذ عند وصول أي مستخدم إلى الصفحات المتأثرة.
The Switch CTA Box WordPress plugin versions up to 1.1 contains a Stored Cross-Site Scripting vulnerability in the 'wppw_cta_box' shortcode due to insufficient input sanitization and output escaping of post meta values. Authenticated contributors and above can inject malicious scripts that execute for all users viewing affected pages.
Update the Switch CTA Box plugin to version 1.2 or later immediately. If immediate update is not possible, disable the plugin and remove all instances of the 'wppw_cta_box' shortcode from published content. Implement Web Application Firewall (WAF) rules to detect and block XSS payloads. Review user permissions and limit contributor-level access to trusted users only.
قم بتحديث إضافة Switch CTA Box إلى الإصدار 1.2 أو أحدث فوراً. إذا لم يكن التحديث الفوري ممكناً، قم بتعطيل الإضافة وإزالة جميع نسخ من shortcode 'wppw_cta_box' من المحتوى المنشور. قم بتطبيق قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن حمولات XSS وحجبها. راجع صلاحيات المستخدمين وقيد الوصول على مستوى المساهم للمستخدمين الموثوقين فقط.