GPTranslate <= 2.31 - Unauthenticated Stored Cross-Site Scripting via REST API Translation Storage
Summary
| CVE | CVE-2026-9109 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-13 07:16:14 UTC |
| Updated | 2026-06-13 07:16:14 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | John-dagelmore | GPTranslate Multilingual AI Translation For WordPress Automatically Translate Websites | affected 2.31 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/1c93b564-5428-4b0e-bbe8-f1e1e... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/assets/js/admin.js | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/assets/js/admin.js | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.31/assets/js/admin.js | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gptranslate/tags/2.27.5/gptranslate.php | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Hardeep (en)
CNA: Chris (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-12T17:00:41.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.