{
 "id": "WPSEC-2026-4728",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4728/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4728/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4728/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4728.json",
 "title": "GPTranslate <= 2.35 - Unauthenticated Stored Cross-Site Scripting via Entity-Encoded Translation Values and Page Content in Server-Side Translated Pages",
 "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.",
 "plugin": {
  "slug": "gptranslate",
  "name": "GPTranslate",
  "full_name": "GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI",
  "wordpress_org": "https://wordpress.org/plugins/gptranslate/",
  "advisories_url": "https://wpsec.com/vuln/plugin/gptranslate/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/gptranslate"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.36",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.36"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.36",
 "remediation": "Update to 2.36 or later.",
 "fix_released": "2026-12-05T17:35:20+00:00",
 "published": "2026-12-06T17:42:15+00:00",
 "updated": "2026-12-06T12:29:49.940394+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4728/",
  "https://plugins.svn.wordpress.org/gptranslate/tags/2.36/",
  "https://wordpress.org/plugins/gptranslate/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/gptranslate",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-06"
 }
}