Vulnerabilities / GPTranslate / WPSEC-2026-4728

GPTranslate <= 2.35 - Unauthenticated Stored Cross-Site Scripting via Entity-Encoded Translation Values and Page Content in Server-Side Translated Pages

High 7.2 CWE-79Fixed in 2.36
ID
WPSEC-2026-4728
Plugin
GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI (gptranslate)
Affected
all versions before 2.36
Remediation
Update to 2.36 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-06
Attack surface
GPTranslate on WPSec AttackSurface
Fix released
Published

Description

The GPTranslate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via translation values submitted to the public 'storetranslations' task and via entity-encoded text in pages rendered by the server-side translation feature (DOMDocument and SimpleHTMLDOM methods) in all versions up to, and including, 2.35. This is due to the server-side translation renderer decoding every HTML entity of the finished page with html_entity_decode(), which turns entity-encoded markup such as &lt;img onerror=...&gt; back into live tags, combined with translation values that were only passed through wp_strip_all_tags() and left entity-encoded markup intact. The translated title was also copied into the og:title, twitter:title and dc:title meta attributes without attribute escaping. This is a bypass of the fix for CVE-2026-103309. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into translated pages that will execute whenever a user accesses an affected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0