Translate WordPress with Weglot 2.0 – Multilingual AI Translation <= 6.4.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML Parser Placeholder Keys

Medium 6.4 CWE-79Fixed in 6.5
ID
WPSEC-2026-3760
Plugin
Translate WordPress with Weglot 2.0 – Multilingual AI Translation (weglot)
Affected
all versions before 6.5
Remediation
Update to 6.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-24
Attack surface
Translate WordPress with Weglot 2.0 – Multilingual AI Translation on WPSec AttackSurface
Fix released
Published

Description

The Translate WordPress with Weglot 2.0 – Multilingual AI Translation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the HTML parser that rewrites translated pages in all versions up to, and including, 6.4.3. This is due to the bundled parser replacing comments, scripts, styles and code blocks with placeholder keys that can be predicted, and restoring the original text into attribute values without escaping it. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses a translated version of an injected page.

References

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

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

License: CC BY 4.0