The PrivateContent Free plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'align' shortcode attribute in the [pc-login-form] shortcode in all versions up to, and including, 1.2.0. This is due to insufficient input sanitization and output escaping on the 'align' attribute. Specifically, the attribute value flows from the shortcode through pc_login_form() to pc_static::form_align(), where it is directly concatenated into an HTML class attribute without esc_attr() or any 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 PrivateContent Free WordPress plugin versions up to 1.2.0 contain a Stored Cross-Site Scripting vulnerability in the [pc-login-form] shortcode's 'align' attribute due to insufficient input sanitization. Authenticated attackers with Contributor-level access can inject malicious scripts that execute for all users viewing affected pages.
تحتوي إضافة PrivateContent Free لـ WordPress على ثغرة Stored XSS في اختصار [pc-login-form] حيث لا يتم تطهير قيمة خاصية 'align' بشكل صحيح قبل إدراجها في سمة HTML. يمكن للمهاجمين المصرحين بمستوى Contributor أو أعلى حقن كود JavaScript ضار يتم تنفيذه عند زيارة أي مستخدم للصفحة المصابة.
ثغرة Stored XSS في إضافة PrivateContent Free لـ WordPress تصل إلى الإصدار 1.2.0 في خاصية 'align' بسبب عدم تطهير المدخلات بشكل كافٍ. يمكن للمهاجمين المصرحين برفع المحتوى حقن نصوص برمجية ضارة تنفذ عند وصول المستخدمين للصفحات المصابة.
Update the PrivateContent Free plugin to version 1.2.1 or later immediately. If immediate patching is not possible, disable the [pc-login-form] shortcode or restrict Contributor-level access to trusted users only. Implement Web Application Firewall rules to detect and block XSS payloads in shortcode attributes.
قم بتحديث إضافة PrivateContent Free إلى الإصدار 1.2.1 أو أحدث فوراً. إذا لم يكن التحديث ممكناً، عطّل اختصار [pc-login-form] أو قيّد وصول مستخدمي Contributor للمستخدمين الموثوقين فقط. طبّق قواعد جدار حماية تطبيقات الويب للكشف عن حقن XSS.