The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 1.52.1 via the 'upload-1[file][file_path]' parameter. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. Successful exploitation requires a publicly accessible form with a File Upload field where Save and Continue is enabled in that form's Behavior settings and the Save and Continue email notification is configured to attach uploaded files in Email Notifications.
CVE-2026-5192 is a critical path traversal vulnerability in the Forminator WordPress plugin (versions ≤1.52.1) that allows unauthenticated attackers to read arbitrary files from affected servers. The vulnerability requires specific form configuration (File Upload field with Save and Continue enabled) but poses significant risk to organizations using WordPress with this popular form builder plugin. No patch is currently available, making immediate mitigation through configuration changes essential.
IMMEDIATE ACTIONS:
1. Audit all WordPress installations for Forminator plugin presence and version (versions ≤1.52.1 are vulnerable)
2. Identify forms with File Upload fields that have 'Save and Continue' enabled in Behavior settings
3. Check Email Notifications configuration for attachment of uploaded files
4. Disable affected forms immediately or restrict access to authenticated users only
COMPENSATING CONTROLS (until patch available):
1. Disable the Forminator plugin entirely if not critical to operations
2. If plugin is required: Disable 'Save and Continue' feature in all forms with file upload fields
3. Remove file attachment functionality from Email Notifications settings
4. Implement Web Application Firewall (WAF) rules to block requests containing '../' or encoded path traversal patterns in 'upload-1[file][file_path]' parameter
5. Restrict form access to authenticated users only via WordPress user roles
6. Move WordPress installation outside web root if possible
7. Implement strict file upload validation and whitelist allowed file types
DETECTION RULES:
1. Monitor web server logs for requests containing patterns: 'upload-1[file][file_path]' with '../', '..\', '%2e%2e', or encoded variants
2. Alert on any POST requests to Forminator upload endpoints from non-authenticated sources
3. Monitor file access logs for unexpected reads of sensitive files (wp-config.php, .env, /etc/passwd equivalents)
4. Implement IDS/IPS signatures detecting path traversal attempts in form parameters
5. Log and alert on any changes to Forminator form settings, particularly 'Save and Continue' and email notification configurations
PATCHING GUIDANCE:
1. Monitor Forminator plugin repository for security updates (currently no patch available)
2. Subscribe to WordPress security mailing lists and Forminator security advisories
3. When patch is released, test in staging environment before production deployment
4. Plan immediate deployment of patch once available due to unauthenticated nature of exploit
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress للتحقق من وجود مكون Forminator والإصدار (الإصدارات ≤1.52.1 معرضة للخطر)
2. تحديد النماذج التي تحتوي على حقول تحميل الملفات مع تفعيل 'الحفظ والمتابعة' في إعدادات السلوك
3. التحقق من إعدادات إشعارات البريد الإلكتروني لإرفاق الملفات المرفوعة
4. تعطيل النماذج المتأثرة فوراً أو تقييد الوصول للمستخدمين المصرح لهم فقط
الضوابط البديلة (حتى توفر التصحيح):
1. تعطيل مكون Forminator بالكامل إذا لم يكن حرجاً للعمليات
2. إذا كان المكون مطلوباً: تعطيل ميزة 'الحفظ والمتابعة' في جميع النماذج التي تحتوي على حقول تحميل ملفات
3. إزالة وظيفة إرفاق الملفات من إعدادات إشعارات البريد الإلكتروني
4. تطبيق قواعد جدار حماية تطبيقات الويب (WAF) لحجب الطلبات التي تحتوي على '../' أو أنماط اجتياز المسار المشفرة في معامل 'upload-1[file][file_path]'
5. تقييد وصول النموذج للمستخدمين المصرح لهم فقط عبر أدوار مستخدمي WordPress
6. نقل تثبيت WordPress خارج جذر الويب إن أمكن
7. تطبيق التحقق الصارم من تحميل الملفات وقائمة بيضاء لأنواع الملفات المسموحة
قواعد الكشف:
1. مراقبة سجلات خادم الويب للطلبات التي تحتوي على أنماط: 'upload-1[file][file_path]' مع '../' أو '..\' أو '%2e%2e' أو متغيرات مشفرة
2. التنبيه على أي طلبات POST إلى نقاط نهاية تحميل Forminator من مصادر غير مصرح لها
3. مراقبة سجلات الوصول إلى الملفات للقراءات غير المتوقعة للملفات الحساسة (wp-config.php, .env)
4. تطبيق توقيعات IDS/IPS للكشف عن محاولات اجتياز المسار في معاملات النموذج
5. تسجيل والتنبيه على أي تغييرات في إعدادات نموذج Forminator، خاصة 'الحفظ والمتابعة' وإعدادات إشعارات البريد الإلكتروني