CVE-2026-6176
Customer Reviews for WooCommerce に報告された脆弱性
概要
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the aggregated review form submission in versions up to and including 5.106.0. This is due to insufficient input sanitization and output escaping on user-supplied review comment text. The plugin accepts review submissions from unauthenticated users through the 'cr_local_forms_submit' AJAX action without sanitizing HTML content before storing it via wp_insert_comment(), and later renders this stored content on product pages through comment_text() without proper escaping. This makes it possible for unauthenticated attackers with a valid review form URL (obtainable through review reminder emails sent to customers who placed orders) to inject arbitrary web scripts in pages that will execute whenever a user accesses the affected product page.
影響を受けるバージョン
- 0以上 〜 5.106.0以下
対処方法
Customer Reviews for WooCommerce を 5.107.0 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.105.0/includes/reminders/class-cr-local-forms-ajax.php#L50
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.105.0/includes/reviews/class-cr-endpoint.php#L445
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/trunk/includes/reminders/class-cr-local-forms-ajax.php#L50
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/trunk/includes/reviews/class-cr-endpoint.php#L445
- https://plugins.trac.wordpress.org/changeset/3510305/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d784afb0-03ca-48f8-ac21-230601c028a1?source=cve