The Xpro Addons — 140+ Widgets for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Pricing Widget's 'onClick Event' setting in all versions up to, and including, 1.4.20 due to insufficient input sanitization and output escaping. 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 Xpro Addons plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the Pricing Widget's onClick Event setting, affecting versions up to 1.4.20. Authenticated users with contributor-level access can inject malicious scripts that execute for all page visitors. While currently unpatched, the medium CVSS score (6.4) and requirement for authenticated access limit immediate risk, but the stored nature of the vulnerability poses persistent threats to website integrity and visitor security.
IMMEDIATE ACTIONS:
1. Audit all WordPress installations using Xpro Addons plugin and identify version numbers
2. Review user access logs for contributor-level and above accounts for suspicious activity
3. Inspect all Pricing Widget configurations for suspicious onClick Event values containing script tags or event handlers
4. Disable the Pricing Widget feature if not actively used
PATCHING GUIDANCE:
1. Monitor Xpro Addons GitHub/official channels for security updates (no patch currently available)
2. When patch is released, immediately apply to all affected installations
3. Test patches in staging environment before production deployment
COMPENSATING CONTROLS (until patch available):
1. Restrict contributor-level access to only trusted users; audit existing contributor accounts
2. Implement Web Application Firewall (WAF) rules to detect and block script injection in onClick Event parameters
3. Enable WordPress security plugins (Wordfence, Sucuri) with XSS detection capabilities
4. Implement Content Security Policy (CSP) headers to restrict inline script execution
5. Use WordPress user role management to limit Pricing Widget access to administrators only
6. Enable WordPress audit logging to track all widget configuration changes
DETECTION RULES:
1. Monitor database for Pricing Widget settings containing: <script, javascript:, onerror=, onload=, onclick= in onClick Event fields
2. Alert on any modifications to Pricing Widget configurations by non-admin users
3. Monitor page source code for unexpected script tags in rendered Pricing Widget HTML
4. Track contributor account creation and privilege escalation events
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress التي تستخدم مكون Xpro Addons وتحديد أرقام الإصدارات
2. مراجعة سجلات الوصول للمستخدمين على مستوى المساهم وما فوقه للنشاط المريب
3. فحص جميع تكوينات أداة التسعير للقيم المريبة في onClick Event تحتوي على علامات script أو معالجات أحداث
4. تعطيل ميزة أداة التسعير إذا لم تكن قيد الاستخدام النشط
إرشادات التصحيح:
1. مراقبة قنوات Xpro Addons الرسمية للتحديثات الأمنية (لا يوجد تصحيح متاح حالياً)
2. عند إصدار التصحيح، تطبيقه فوراً على جميع التثبيتات المتأثرة
3. اختبار التصحيحات في بيئة التطوير قبل نشرها في الإنتاج
الضوابط البديلة (حتى توفر التصحيح):
1. تقييد الوصول على مستوى المساهم للمستخدمين الموثوقين فقط؛ تدقيق حسابات المساهمين الحالية
2. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن حقن النصوص البرمجية وحجبها
3. تفعيل مكونات أمان WordPress (Wordfence, Sucuri) مع قدرات الكشف عن XSS
4. تنفيذ رؤوس Content Security Policy (CSP) لتقييد تنفيذ النصوص البرمجية المضمنة
5. استخدام إدارة أدوار مستخدمي WordPress لتقييد الوصول إلى أداة التسعير للمسؤولين فقط
6. تفعيل تسجيل تدقيق WordPress لتتبع جميع تغييرات تكوين الأداة
قواعد الكشف:
1. مراقبة قاعدة البيانات لإعدادات أداة التسعير التي تحتوي على: <script, javascript:, onerror=, onload=, onclick= في حقول onClick Event
2. تنبيه عند أي تعديلات على تكوينات أداة التسعير من قبل مستخدمين غير المسؤولين
3. مراقبة كود الصفحة المصدري للنصوص البرمجية غير المتوقعة في HTML أداة التسعير المعروضة
4. تتبع أحداث إنشاء حساب المساهم وتصعيد الامتيازات