The WP-Ultimate-Map plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.1. This is due to missing nonce validation on the process_init() function hooked to admin_init, which saves plugin settings (zoom-level, focus-lat, focus-lng, sel_places, sel_routes) via update_option() based solely on the presence of a save-setting POST parameter. Additionally, the saved values — particularly zoom-level — are stored without sanitization and later echoed into an HTML attribute (and inline JavaScript) on the settings page without escaping. This makes it possible for unauthenticated attackers to change plugin settings and inject arbitrary web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
WP-Ultimate-Map plugin versions up to 1.1 are vulnerable to Cross-Site Request Forgery (CSRF) allowing attackers to modify plugin settings without proper nonce validation. The vulnerability also includes stored Cross-Site Scripting (XSS) through unsanitized and unescaped plugin settings that are reflected in HTML attributes and JavaScript.
يحتوي مكون WP-Ultimate-Map على ثغرة CSRF في دالة process_init() المرتبطة بـ admin_init حيث تفتقد التحقق من nonce عند حفظ إعدادات المكون. بالإضافة إلى ذلك، يتم حفظ القيم المدخلة دون تنظيف وتعكسها لاحقاً في سمات HTML وكود JavaScript دون هروب، مما يسمح بحقن نصوص برمجية عشوائية.
WP-Ultimate-Map plugin versions up to 1.1 are vulnerable to Cross-Site Request Forgery (CSRF) allowing attackers to modify plugin settings without proper nonce validation. The vulnerability also includes stored Cross-Site Scripting (XSS) through unsanitized and unescaped plugin settings that are reflected in HTML attributes and JavaScript.
Update WP-Ultimate-Map plugin to version 1.2 or later immediately. Implement nonce verification on all admin forms using wp_verify_nonce(). Sanitize all user inputs with sanitize_text_field() or appropriate sanitization functions. Escape all output with esc_attr() for HTML attributes and esc_js() for JavaScript contexts. Conduct security audit of all WordPress plugins for similar vulnerabilities.
قم بتحديث مكون WP-Ultimate-Map إلى الإصدار 1.2 أو أحدث فوراً. تطبيق التحقق من nonce على جميع نماذج المسؤول باستخدام wp_verify_nonce(). تنظيف جميع مدخلات المستخدم باستخدام sanitize_text_field() أو وظائف التنظيف المناسبة. الهروب من جميع المخرجات باستخدام esc_attr() لسمات HTML و esc_js() لسياقات JavaScript. إجراء تدقيق أمني لجميع مكونات WordPress للبحث عن ثغرات مماثلة.