→ برگشت به فید آسیبپذیریها
CVE-2026-96570 · schema-and-structured-data-for-wp
تزریق اسکریپت ذخیرهشده (Stored XSS) در افزونه Schema & Structured Data for WP & AMP
افزونه Schema & Structured Data for WP & AMP در نسخههای ۱.۶۷ و پایینتر، بهدلیل پاکسازی ناکافی ورودی و گریز ناکافی خروجی پارامتر saswp_review_text، در برابر تزریق اسکریپت ذخیرهشده (Stored XSS) آسیبپذیر است. مهاجمان احراز هویتنشده میتوانند اسکریپت دلخواه را در صفحات تزریق کنند تا هنگام بازدید کاربران اجرا شود؛ نانس موجود در شورتکد [saswp-reviews-form] بهصورت عمومی در HTML چاپ میشود و مرز کنترل دسترسی مؤثری ایجاد نمیکند. از آنجا که وصله امنیتی منتشر شده است، افزونه را فوراً به نسخهای جدیدتر از ۱.۶۷ بهروزرسانی کنید.
نسخههای تحت تأثیر
<= 1.67
راهنمای اقدام و رفع مشکل (Remediation)
- ۱. پشتیبانگیری: قبل از اعمال هرگونه تغییر، یک بکاپ کامل از پایگاه داده و فایلهای سایت تهیه کنید.
- ۲. بهروزرسانی سریع: افزونه یا هسته schema-and-structured-data-for-wp را بلافاصله به آخرین نسخه ارائهشده ارتقا دهید.
- ۳. فایروال و مانیتورینگ: در صورت عدم امکان آپدیت فوری، رولهای امنیتی WAF را فعال کرده و لاگهای وبسرور را پایش نمایید.
مراجع رسمی و مستندات
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1285322f-be3a-4015-b96d-79589a0897c8?source=api-prod ↗
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1285322f-be3a-4015-b96d-79589a0897c8 ↗
- https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.66/admin_section/common-function.php#L1874 ↗
- https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.66/admin_section/common-function.php#L5158 ↗
- https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.66/modules/reviews/class-saswp-reviews-admin.php#L159 ↗
- https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.66/modules/reviews/class-saswp-reviews-admin.php#L258 ↗
- https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.66/modules/reviews/class-saswp-reviews-form.php#L170 ↗
- https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.66/modules/reviews/class-saswp-reviews-service.php#L126 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3740790%40schema-and-structured-data-for-wp&new=3740790%40schema-and-structured-data-for-wp ↗
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1285322f-be3a-4015-b96d-79589a0897c8?source=cve ↗