→ برگشت به فید آسیبپذیریها
CVE-2026-107757 · gallery-custom-links
تزریق اسکریپت ذخیرهشده (Stored XSS) در افزونه Gallery Custom Links
افزونه Gallery Custom Links در نسخههای ۲.۳.۳ و پایینتر بهدلیل پاکسازی ناکافی ورودی و گریز نادرست خروجی، در برابر تزریق اسکریپت ذخیرهشده (Stored XSS) آسیبپذیر است. مهاجم احرازهویتشده با دسترسی سطح مشترک (Subscriber) یا بالاتر میتواند اسکریپت دلخواه را در صفحات سایت ذخیره کند تا هنگام بازدید کاربران اجرا شود و به سرقت نشست، دستکاری محتوا یا اقدامات مخرب در بستر وبسایت منجر گردد. وصله رسمی تاکنون منتشر نشده است؛ تا زمان انتشار پچ، افزونه را موقتاً غیرفعال کنید یا با دیوار آتش وب (WAF) ورودیهای مشکوک را محدود نمایید.
نسخههای تحت تأثیر
<= 2.3.3
راهنمای اقدام و رفع مشکل (Remediation)
- ۱. پشتیبانگیری: قبل از اعمال هرگونه تغییر، یک بکاپ کامل از پایگاه داده و فایلهای سایت تهیه کنید.
- ۲. بهروزرسانی سریع: افزونه یا هسته gallery-custom-links را بلافاصله به آخرین نسخه ارائهشده ارتقا دهید.
- ۳. فایروال و مانیتورینگ: در صورت عدم امکان آپدیت فوری، رولهای امنیتی WAF را فعال کرده و لاگهای وبسرور را پایش نمایید.
مراجع رسمی و مستندات
- https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/classes/core.php#L103 ↗
- https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/classes/core.php#L215 ↗
- https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php#L2112 ↗
- https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php#L2207 ↗
- https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php#L502 ↗
- https://plugins.trac.wordpress.org/changeset/3737485/gallery-custom-links ↗
- https://plugins.trac.wordpress.org/changeset/3737485/gallery-custom-links/trunk/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php ↗
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f37a0db8-b13c-4d9f-bc6f-88576f9e3862?source=cve ↗