Relevanssi – A Better Search に脆弱性 — CVE-2026-135267
いま何をすべきか
Relevanssi – A Better Search を 2.31.12 以降に更新してください。
影響を受けるバージョン
- 2.31.11 以下のすべて
- 4.28.9 以下のすべて
対象: プラグイン「Relevanssi – A Better Search」(relevanssi)
何が起きるのか
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name (REST /wp/v2/tags) / tax_input[post_tag] (post save)' parameter in all versions up to, and including, 4.28.9 due to insufficient input sanitization and output 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. This is exploitable because WordPress's wp_filter_kses stores entity-encoded payloads (e.g., <img src=x onerror=...>) verbatim as literal text in the database, but Relevanssi's relevanssi_entity_decode() subsequently converts them into live HTML markup before the unescaped return branch of relevanssi_the_tags() splices them into the tag list consumed by the theme.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
Relevanssi – A Better Search を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://github.com/msaari/relevanssi/commit/e37730239b7f058882589467ca4afbbe48747ec1
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L1700
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L690
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L1543
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L644
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6cabeb52-f089-469b-adcd-72aa6fcc3676?source=cve