CVE-2026-9109
GPTranslate – Multilingual AI Translation for WordPress: Translate Websites with AI Agents に報告された脆弱性
概要
The GPTranslate – Multilingual AI Translation for WordPress: Automatically Translate Websites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via REST API Translation Storage in all versions up to, and including, 2.31 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. The deterministically derived API key (sha256 of the site URL) is printed in the HTML source of every page via the JavaScript variable gptApiKey, meaning any unauthenticated visitor can retrieve the key and submit malicious translation payloads to the /wp-json/gptranslate/v1/request endpoint without any additional precondition.
影響を受けるバージョン
- 0以上 〜 2.31以下
対処方法
GPTranslate – Multilingual AI Translation for WordPress: Translate Websites with AI Agents を 2.32 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/assets/js/admin.js#L1
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php#L1134
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php#L3578
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php#L3654
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/assets/js/admin.js#L1
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php#L1134
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php#L3578
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php#L3654