ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF に脆弱性 — CVE-2026-120486
いま何をすべきか
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF を 6.6.2 以降に更新してください。
影響を受けるバージョン
- 6.6.1 以下のすべて
対象: プラグイン「ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF」(shortpixel-image-optimiser)
何が起きるのか
The ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 6.6.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the administrator to have enabled the 'Deliver WebP/AVIF images using the ShortPixel CDN' (useCDN) option, after which any unauthenticated visitor can submit a comment containing a crafted url() payload inside an allowed HTML construct such as <acronym title="...">, which WordPress comment kses preserves on save; the dangerous attribute-boundary breakout occurs only at render time inside the ob_start output-buffer rewriter, where kses does not apply.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://github.com/short-pixel-optimizer/shortpixel-image-optimiser/releases/tag/v6.6.2
- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L1002
- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L104
- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L508
- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L752
- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/FrontController.php#L38