The Form Maker by 10Web plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 1.15.35. This is due to the plugin's default file upload allowlist including SVG files combined with weak substring-based extension validation. This makes it possible for unauthenticated attackers to upload malicious SVG files containing JavaScript code that will execute when viewed by administrators or site visitors via file upload fields in forms granted they can submit forms.
The Form Maker by 10Web WordPress plugin (versions up to 1.15.35) contains a Stored Cross-Site Scripting (XSS) vulnerability allowing unauthenticated attackers to upload malicious SVG files with embedded JavaScript. The vulnerability exploits weak extension validation and SVG inclusion in default file upload allowlists, enabling code execution when administrators or visitors view uploaded files. This affects any WordPress installation using vulnerable versions of the plugin with active form submission capabilities.
IMMEDIATE ACTIONS:
1. Identify all WordPress installations using Form Maker by 10Web plugin and document current versions
2. Disable form submission functionality on affected plugins until patching is completed
3. Review uploaded files in the past 90 days for suspicious SVG files with JavaScript content
4. Audit access logs for unauthorized file uploads and subsequent administrator/visitor access
PATCHING GUIDANCE:
1. Update Form Maker by 10Web to version 1.15.36 or later immediately
2. Test patches in staging environment before production deployment
3. Clear browser cache and CDN cache after patching
COMPENSATING CONTROLS (if immediate patching not possible):
1. Implement Web Application Firewall (WAF) rules to block SVG file uploads
2. Configure file upload restrictions to exclude SVG from allowed extensions
3. Implement Content Security Policy (CSP) headers to prevent inline script execution
4. Restrict file upload permissions to authenticated users only
5. Store uploaded files outside web root or in non-executable directories
6. Implement file type validation on server-side using MIME type checking, not just extension validation
DETECTION RULES:
1. Monitor for POST requests to form submission endpoints with SVG file uploads
2. Alert on SVG files containing <script>, javascript:, or event handler attributes
3. Track administrator access to uploaded file directories
4. Monitor for unusual JavaScript execution in form submission contexts
5. Log all file uploads with file type, size, and submitter IP address
الإجراءات الفورية:
1. تحديد جميع تثبيتات WordPress التي تستخدم مكون Form Maker من 10Web وتوثيق الإصدارات الحالية
2. تعطيل وظيفة تقديم النماذج على المكونات المتأثرة حتى يتم إصلاحها
3. مراجعة الملفات المرفوعة في آخر 90 يوماً بحثاً عن ملفات SVG المريبة التي تحتوي على محتوى JavaScript
4. تدقيق سجلات الوصول للرفع غير المصرح به للملفات والوصول اللاحق من المسؤولين أو الزوار
إرشادات التصحيح:
1. تحديث Form Maker من 10Web إلى الإصدار 1.15.36 أو أحدث فوراً
2. اختبار التصحيحات في بيئة التطوير قبل نشرها في الإنتاج
3. مسح ذاكرة التخزين المؤقت للمتصفح و CDN بعد التصحيح
الضوابط البديلة (إذا لم يكن الإصلاح الفوري ممكناً):
1. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحظر رفع ملفات SVG
2. تكوين قيود رفع الملفات لاستبعاد SVG من الامتدادات المسموحة
3. تنفيذ رؤوس سياسة أمان المحتوى (CSP) لمنع تنفيذ البرامج النصية المضمنة
4. تقييد أذونات رفع الملفات للمستخدمين المصرح لهم فقط
5. تخزين الملفات المرفوعة خارج جذر الويب أو في مجلدات غير قابلة للتنفيذ
6. تنفيذ التحقق من نوع الملف على جانب الخادم باستخدام فحص نوع MIME وليس فقط التحقق من امتداد الملف
قواعد الكشف:
1. مراقبة طلبات POST إلى نقاط نهاية تقديم النماذج برفع ملفات SVG
2. التنبيه على ملفات SVG التي تحتوي على <script> أو javascript: أو سمات معالجات الأحداث
3. تتبع وصول المسؤول إلى مجلدات الملفات المرفوعة
4. مراقبة تنفيذ JavaScript غير العادي في سياقات تقديم النماذج
5. تسجيل جميع رفع الملفات مع نوع الملف والحجم وعنوان IP المرسل