Stop Spammers Classic に脆弱性 — CVE-2026-120477
いま何をすべきか
Stop Spammers Classic を 2026.7 以降に更新してください。
影響を受けるバージョン
- 2026.6 以下のすべて
対象: プラグイン「Stop Spammers Classic」(stop-spammer-registrations-plugin)
何が起きるのか
The Stop Spammers Classic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' POST parameter in versions up to, and including, 2026.6. An unauthenticated POST handled on init stores the attacker-supplied author field (after sanitize_text_field, which does not escape single quotes) into the ss_stop_sp_reg_stats option history. The Log Report admin page then renders that stored value inside a single-quoted JavaScript string within a double-quoted onclick attribute using esc_js(); because esc_js() uses _wp_specialchars with ENT_COMPAT it does not escape single quotes, allowing the stored value to break out of the JS string literal and inject arbitrary JavaScript. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute whenever an administrator with manage_options access clicks the 'Report to SFS' link on an attacker-poisoned log row (the StopForumSpam API key must be configured for that link to be rendered — the field is empty by default). Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
Stop Spammers Classic を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/classes/ss_log_bad.php#L63
- https://plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/settings/ss_reports.php#L165
- https://plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/stop-spammer-registrations-new.php#L323
- https://plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/stop-spammer-registrations-new.php#L600
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3784211%40stop-spammer-registrations-plugin&new=3784211%40stop-spammer-registrations-plugin
- https://www.wordfence.com/threat-intel/vulnerabilities/id/29fe0bc9-b460-4158-86fc-ad2980cc827a?source=cve