The SponsorMe plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PHP_SELF Parameter in all versions up to, and including, 0.5.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. The PHP_SELF value is reflected in two separate locations within the vulnerable function — a form action attribute and an anchor href attribute — both of which can be exploited by appending a crafted payload to the wp-admin/admin.php URL path.
The SponsorMe WordPress plugin versions up to 0.5.2 contains a reflected Cross-Site Scripting (XSS) vulnerability in the PHP_SELF parameter due to insufficient input sanitization. Unauthenticated attackers can inject malicious scripts that execute when users click on crafted links, affecting both form actions and anchor href attributes.
ثغرة XSS المنعكسة في إضافة SponsorMe تسمح بحقن برامج نصية ضارة عبر معامل PHP_SELF في مسار wp-admin/admin.php. تؤثر الثغرة على موقعين منفصلين - سمة إجراء النموذج وسمة href الرابط - مما يسمح بتنفيذ الكود الضار عند نقر المستخدم على رابط مصنوع بعناية.
ثغرة XSS المنعكسة في إضافة SponsorMe لـ WordPress تصل إلى الإصدار 0.5.2 تسمح للمهاجمين بحقن برامج نصية ضارة عبر معامل PHP_SELF. يمكن استغلال الثغرة من خلال روابط مصنوعة بعناية دون الحاجة إلى مصادقة.
Update the SponsorMe plugin to version 0.5.3 or later immediately. Implement proper input sanitization using WordPress sanitization functions (sanitize_text_field, sanitize_url) and output escaping with esc_attr() for HTML attributes and esc_url() for URLs. Disable the vulnerable plugin if updates are unavailable.
قم بتحديث إضافة SponsorMe إلى الإصدار 0.5.3 أو أحدث فوراً. طبق تنظيف المدخلات الصحيح باستخدام دوال WordPress (sanitize_text_field, sanitize_url) والهروب من المخرجات باستخدام esc_attr() و esc_url(). عطل الإضافة إذا لم تتوفر تحديثات.