XSS in John-Dagelmore Gptranslate – Multilingual Ai Translation For WordPress: Automatically Translate Websites
CVE-2026-9109
- CVSS v3
- 7.2 High
- Public exploits
- None known
- EPSS
- 0.003 · 24.9th percentile
- Published
- 2026-06-13
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 24.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/assets/js/admin.js
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/assets/js/admin.js
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/assets/js/admin.js
- plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/gptranslate.php