CVE-2026-9109
Description
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.
Affected WordPress components
-
GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI Plugin · gptranslateUp to and including 2.31View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- john-dagelmore GPTranslate – Multilingual AI Translation for WordPress: Automatically Translate Websites — Up to and including 2.31
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/assets/js/admin.js#L1
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php#L1134
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php#L3578
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php#L3654
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/assets/js/admin.js#L1
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php#L1134
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php#L3578
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php#L3654
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/assets/js/admin.js#L1
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/gptranslate.php#L1104
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/gptranslate.php#L3574
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/1c93b564-5428-4b0e-bbe8-f1e1e68940ac?source=cve
- nvd.nist.gov Official NVD record