{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4728",
 "modified": "2026-12-06T17:42:15Z",
 "published": "2026-12-06T17:42:15Z",
 "summary": "GPTranslate <= 2.35 - Unauthenticated Stored Cross-Site Scripting via Entity-Encoded Translation Values and Page Content in Server-Side Translated Pages",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "gptranslate"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "2.36"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 2.36"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4728/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/gptranslate/tags/2.36/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/gptranslate/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4728/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "High",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
