The All-In-One Security (AIOS) – Security and Firewall plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 5.4.7. This is due to insufficient input sanitization in the get_rest_route() function and missing output escaping in the column_default() method of the debug log list table. When the 'Disable REST API for non-logged in users' feature (aiowps_disallow_unauthorized_rest_requests) is enabled alongside debug logging (aiowps_enable_debug), an unauthenticated attacker can embed arbitrary HTML or JavaScript in the REST request path. The path is retrieved via urldecode($_SERVER['REQUEST_URI']), which decodes URL-encoded payloads into literal HTML characters. This decoded, unsanitized value is concatenated directly into a debug log message and stored in the database. When an administrator navigates to the AIOS Dashboard Debug Logs page, the column_default() method returns the raw database value without escaping, and the parent list table echoes it directly, causing JavaScript execution in the administrator's browser session. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the debug log page, enabling nonce theft, privileged AJAX/REST actions, and potential full site compromise.
The All-In-One Security (AIOS) WordPress plugin versions up to 5.4.7 contain a Stored Cross-Site Scripting vulnerability in the debug log functionality due to insufficient input sanitization and missing output escaping. An unauthenticated attacker can inject malicious JavaScript through REST API requests when debug logging is enabled, which executes when administrators view the debug logs.
ثغرة Cross-Site Scripting (XSS) مخزنة في مكون All-In-One Security للـ WordPress تسمح لمهاجم غير مصرح بحقن كود JavaScript ضار عبر طلبات REST API. يحدث الهجوم عندما تكون ميزات تسجيل التصحيح وتعطيل REST API للمستخدمين غير المسجلين مفعّلة، حيث يتم تخزين الحمولة الضارة في قاعدة البيانات وتنفيذها عند عرض سجلات التصحيح من قبل المسؤول.
The All-In-One Security (AIOS) WordPress plugin versions up to 5.4.7 contain a Stored Cross-Site Scripting vulnerability in the debug log functionality due to insufficient input sanitization and missing output escaping. An unauthenticated attacker can inject malicious JavaScript through REST API requests when debug logging is enabled, which executes when administrators view the debug logs.
Update the All-In-One Security (AIOS) plugin to version 5.4.8 or later immediately. Disable the 'Disable REST API for non-logged in users' feature and debug logging if not actively needed. Implement Web Application Firewall (WAF) rules to filter malicious REST API requests. Conduct security audit of WordPress installations and review debug logs for suspicious entries. Apply principle of least privilege to administrator accounts.
قم بتحديث مكون All-In-One Security (AIOS) إلى الإصدار 5.4.8 أو أحدث فوراً. عطّل ميزة 'تعطيل REST API للمستخدمين غير المسجلين' وتسجيل التصحيح إذا لم تكن مطلوبة بنشاط. طبّق قواعد جدار حماية تطبيقات الويب (WAF) لتصفية طلبات REST API الضارة. أجرِ تدقيق أمني لتثبيتات WordPress وراجع سجلات التصحيح للبحث عن إدخالات مريبة. طبّق مبدأ أقل صلاحية على حسابات المسؤولين.