{
 "id": "WPSEC-2026-0595",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0595/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0595/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0595/index.md",
 "title": "GPTranslate <= 2.34.13 - Unauthenticated Cross-Site Scripting via HTML Attribute Values in Server-Side Translated Pages",
 "description": "The GPTranslate plugin for WordPress is vulnerable to Cross-Site Scripting via HTML attribute values in pages rendered by the server-side translation feature with the DOMDocument or SimpleHTMLDOM engine in all versions up to, and including, 2.34.13. This is due to insufficient output escaping: the translated page is entity-decoded after its attribute values have been escaped. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into translated pages that execute when a user accesses the 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": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.34.14",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.34.14"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.34.14",
 "remediation": "Update to 2.34.14 or later.",
 "fix_released": "2026-10-04T11:06:54+00:00",
 "published": "2026-10-07T19:47:10+00:00",
 "updated": "2026-10-07T19:15:19.152453+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0595/",
  "https://plugins.svn.wordpress.org/gptranslate/tags/2.34.14/",
  "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-10-07"
 }
}