# GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI <= 2.34.17 - Unauthenticated Stored Cross-Site Scripting via HTML Parser Noise Placeholder Keys

- **ID:** WPSEC-2026-3450
- **Plugin:** GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI (`gptranslate`), https://wordpress.org/plugins/gptranslate/
- **Affected versions:** all versions before 2.35
- **Fixed in:** 2.35 (Update to 2.35 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/gptranslate
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3450/

## Description

The GPTranslate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the SimpleHTMLDOM server-side translation engine in all versions up to, and including, 2.34.17 due to the use of predictable internal noise placeholder keys in the bundled HTML parser and insufficient escaping of values restored into HTML attributes. This makes it possible for unauthenticated attackers to place a guessed placeholder key in page content they control, such as a comment, so that it is replaced with raw markup from elsewhere in the page and breaks out of an HTML attribute, injecting arbitrary web scripts that execute whenever a user accesses the translated page. Exploitation requires the SimpleHTMLDOM server-side translation engine to be in use.

## References

- https://wpsec.com/vuln/WPSEC-2026-3450/
- https://plugins.svn.wordpress.org/gptranslate/tags/2.35/
- https://wordpress.org/plugins/gptranslate/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3450/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
