The WM JqMath plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'style' shortcode attribute of the [jqmath] shortcode in all versions up to and including 1.3. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The generate_jqMathFormula() function directly concatenates the 'style' attribute value into an HTML style attribute without applying esc_attr() or any other 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 WM JqMath WordPress plugin versions up to 1.3 contain a Stored XSS vulnerability in the [jqmath] shortcode's 'style' attribute due to insufficient input sanitization. Authenticated users with Contributor access or higher can inject malicious scripts that execute for all page visitors.
ثغرة XSS المخزنة في إضافة WM JqMath للووردبريس تسمح للمستخدمين المصرح لهم بمستوى المساهم فما فوق بحقن نصوص برمجية ضارة عبر خاصية style في اختصار jqmath. تنفذ الدالة generate_jqMathFormula() قيمة الخاصية مباشرة في سمة HTML style دون تطبيق أي وظائف هروب أمنية. يؤدي هذا إلى تنفيذ البرامج النصية الضارة لجميع الزوار الذين يصلون إلى الصفحات المصابة.
WM JqMath plugin for WordPress up to version 1.3 is vulnerable to stored cross-site scripting through the style attribute of the jqmath shortcode. Attackers with contributor-level access can inject malicious scripts that persist and execute when users view affected pages.
Update WM JqMath plugin to version 1.4 or later immediately. Restrict Contributor-level access to trusted users only. Implement Web Application Firewall (WAF) rules to detect and block XSS payloads in shortcode attributes. Conduct security audit of all published posts containing [jqmath] shortcodes for malicious content.
قم بتحديث إضافة WM JqMath إلى الإصدار 1.4 أو أحدث فوراً. قيد الوصول على مستوى المساهم للمستخدمين الموثوقين فقط. طبق قواعد جدار حماية تطبيقات الويب لكشف حقن XSS في خصائص الاختصارات. أجرِ تدقيق أمني لجميع المنشورات التي تحتوي على اختصارات jqmath.