Translate WordPress and go Multilingual – Weglot <= 6.4.2 - Unauthenticated Stored Cross-Site Scripting via Translated Link URLs

High 7.2 CWE-79Fixed in 6.4.3
ID
WPSEC-2026-1049
Plugin
Translate WordPress with Weglot 2.0 – Multilingual AI Translation (weglot)
Affected
all versions before 6.4.3
Remediation
Update to 6.4.3 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 Medium · Affected versions Medium among sites WPSec scans, 2026-10-16
Attack surface
Translate WordPress and go Multilingual – Weglot on WPSec AttackSurface
Fix released
Published

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.

References

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

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

License: CC BY 4.0