{
 "id": "WPSEC-2026-1049",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1049/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1049/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1049/index.md",
 "title": "Translate WordPress and go Multilingual – Weglot <= 6.4.2 - Unauthenticated Stored Cross-Site Scripting via Translated Link URLs",
 "description": "The Translate WordPress with Weglot 2.0 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via rewritten internal link URLs on translated pages in all versions up to, and including, 6.4.2, due to the plugin URL-decoding the path of internal links and writing the rewritten URL back into HTML attributes (link href, data-link, data-url, data-cart-url, form action, and canonical/next/prev/amphtml links) without output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute whenever a user opens a translated page. The attacker plants a percent-encoded URL in content shown on the site, such as the 'Website' field of a comment when the site accepts comments.",
 "plugin": {
  "slug": "weglot",
  "name": "Translate WordPress and go Multilingual – Weglot",
  "full_name": "Translate WordPress with Weglot 2.0 – Multilingual AI Translation",
  "wordpress_org": "https://wordpress.org/plugins/weglot/",
  "advisories_url": "https://wpsec.com/vuln/plugin/weglot/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/weglot"
 },
 "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": "6.4.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 6.4.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "6.4.3",
 "remediation": "Update to 6.4.3 or later.",
 "fix_released": "2026-10-15T08:23:28+00:00",
 "published": "2026-10-16T10:47:15+00:00",
 "updated": "2026-10-16T09:49:54.386274+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1049/",
  "https://plugins.svn.wordpress.org/weglot/tags/6.4.3/",
  "https://wordpress.org/plugins/weglot/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/weglot",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-16"
 }
}