The Sherk Custom Post Type Displays plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title' shortcode attribute in all versions up to, and including, 1.2.1. This is due to insufficient input sanitization and output escaping on the 'title' attribute of the 'sherkcptdisplays' shortcode. Specifically, in the sherkcptdisplays_func() function in includes/SherkCPTDisplaysShortcode.php, the 'title' attribute value is extracted from shortcode_atts() on line 19 and directly concatenated into an HTML <h2> tag on line 31 without 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 Sherk Custom Post Type Displays WordPress plugin versions up to 1.2.1 contain a Stored Cross-Site Scripting vulnerability in the 'title' shortcode attribute due to insufficient input sanitization and output escaping. Authenticated attackers with Contributor-level access can inject arbitrary scripts that execute when users access affected pages.
تحتوي إضافة Sherk Custom Post Type Displays للإصدارات حتى 1.2.1 على ثغرة Stored XSS في خاصية العنوان للاختصار 'sherkcptdisplays' بسبب عدم كفاية تنظيف المدخلات والهروب من المخرجات. يمكن للمهاجمين المصرحين بمستوى المساهم وما فوق حقن نصوص برمجية عشوائية تُنفذ عند وصول المستخدمين إلى الصفحات المصابة.
The Sherk Custom Post Type Displays WordPress plugin versions up to 1.2.1 contain a Stored Cross-Site Scripting vulnerability in the 'title' shortcode attribute due to insufficient input sanitization and output escaping. Authenticated attackers with Contributor-level access can inject arbitrary scripts that execute when users access affected pages.
Update the Sherk Custom Post Type Displays plugin to version 1.2.2 or later immediately. If immediate updates are unavailable, restrict Contributor-level access to trusted users only, disable the plugin, or implement Web Application Firewall rules to filter malicious shortcode attributes. Review all existing pages using the sherkcptdisplays shortcode for injected content.
قم بتحديث إضافة Sherk Custom Post Type Displays إلى الإصدار 1.2.2 أو أحدث فوراً. إذا لم يكن التحديث متاحاً، قيّد وصول مستوى المساهم للمستخدمين الموثوقين فقط، أو عطّل الإضافة، أو طبّق قواعد جدار حماية تطبيقات الويب لتصفية خصائص الاختصار الضارة. راجع جميع الصفحات الموجودة التي تستخدم اختصار sherkcptdisplays للبحث عن محتوى مُدرج.