Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconVisit public page, scrape gptApiKey from HTML
-
DeliveryCompute/confirm sha256(site_url) API key
-
ExploitPOST malicious translation to /wp-json/gptranslate/v1/request
-
InstallPoisoned translation cached server-side
-
C2Victim loads translated page
-
ExecuteScript executes in site origin
-
ImpactSteal admin session or redirect users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target WordPress site must have the GPTranslate - Multilingual AI Translation plugin installed and active at version 2.31 or earlier with the REST API enabled (default for WordPress). No authentication, no user account, and no special configuration are required: the gptApiKey is deterministically derived as sha256 of the site URL and printed in every page's HTML, so any anonymous visitor can recover it and reach /wp-json/gptranslate/v1/request. The only practical limit on exploitation is that victims must subsequently load a page whose cached translation was poisoned, and that the WordPress REST API or that specific route is not blocked by an upstream WAF. |
| Impact | The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N (7.2 High) is consistent with the description: network reachable, low complexity, no privileges, no user interaction beyond visiting an injected page, and scope change because injected script runs in the WordPress site origin against other users. EPSS and KEV data were not provided in the input, so probability of mass exploitation cannot be quantitatively asserted; this is no public exploit identified at time of analysis. However, the combination of unauthenticated access, a trivially derivable API key exposed in page source, and stored persistence on cached translations means real-world risk for sites running this plugin is higher than a typical reflected XSS - defenders should treat this as a priority patch on any WordPress site running GPTranslate ≤ 2.31. |
| Exploit ScenarioDerived | An unauthenticated attacker visits any page on the target WordPress site, reads the gptApiKey JavaScript variable from the HTML source (it is sha256(site_url) and the same for every visitor), then POSTs a crafted translation payload containing JavaScript to /wp-json/gptranslate/v1/request. The payload is stored as the cached translation for a target page; every subsequent visitor of that page executes the attacker's script in the site origin, enabling cookie theft, session hijacking of logged-in administrators, or drive-by redirection. No public exploit identified at time of analysis, but the technique is straightforward from the description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 13, 2026
Stored cross-site scripting in the GPTranslate - Multilingual AI Translation WordPress plugin (versions ≤ 2.31) allows unauthenticated attackers to inject arbitrary JavaScript into translated pages via the /wp-json/gptranslate/v1/request REST endpoint. Because the API key is deterministically derived as sha256(site_url) and exposed in every page's HTML as the gptApiKey JavaScript variable, any visitor can recover it and submit malicious translation payloads that execute in the browsers of subsequent visitors. No public exploit identified at time of analysis, but the exposed key makes exploitation trivial once the technique is known.
RemediationAI
Upgrade to GPTranslate 2.32 or later, which per the WordPress plugin trac (https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.32/gptranslate.php) reworks the affected request handler around lines 1104 and 3574; this corresponds to an upstream fix available (released patched version 2.32 referenced in the trac repository). If immediate patching is not possible, deactivate the GPTranslate plugin entirely - given the API key is derivable from the public site URL, no firewall rule on the /wp-json/gptranslate/v1/request endpoint can fully mitigate exploitation without effectively disabling the translation feature. As a compensating control, restrict access to /wp-json/gptranslate/v1/request via a WAF rule (Wordfence, Cloudflare, ModSecurity) and purge any cached translations created while ≤ 2.31 was installed, accepting the side effect that legitimate translation requests from end-user browsers will also be blocked. Review the Wordfence advisory for indicators and rule guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GPTranslate is a WordPress plugin by John Dagelmore that performs AI-driven page translation and caches translated content server-side. The vulnerability is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) caused by insufficient input sanitization on the REST endpoint /wp-json/gptranslate/v1/request and insufficient output escaping when the cached translation is rendered. The root design flaw compounds the XSS: the plugin uses a sha256 hash of the public site URL as its API authentication token and prints it to every rendered page via the gptApiKey JS variable (see admin.js and gptranslate.php around lines 1134/3578/3654 in tag 2.31), so the 'secret' is effectively public. The affected CPE is cpe:2.3:a:john-dagelmore:gptranslate_-_multilingual_ai_translation_for_wordpress.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Network-reachable REST endpoint, no auth (API key is publicly derivable), but victim must load the poisoned page (UI:R); injected script runs in site origin so scope changes with low C/I impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
GPTranslate WordPress plugin (versions 2.31 and earlier) creates a stored JavaScript injection vulnerability affecting all site visitors, exposing customer credentials and enabling malware distribution with no attacker authentication required. The vulnerability's technical design makes exploitation straightforward once discovered, creating immediate risk to customer data security, website integrity, and regulatory liability. Urgent remediation across all deployments is required to prevent customer breach.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable/remove the plugin completely on all systems; (2) Configure Web Application Firewall to block requests to /wp-json/gptranslate/v1/request endpoint; (3) Implement strict Content Security Policy to prevent unauthorized script injection; (4) Enable detailed request logging on REST API endpoint for exploitation detection; (5) Restrict REST API access to authenticated users only if plugin is business-critical.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-36642
GHSA-j66v-hr5c-cjh2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB