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

- **ID:** WPSEC-2026-3760
- **Plugin:** Translate WordPress with Weglot 2.0 – Multilingual AI Translation (`weglot`), https://wordpress.org/plugins/weglot/
- **Affected versions:** all versions before 6.5
- **Fixed in:** 6.5 (Update to 6.5 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/weglot
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3760/

## 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

- https://wpsec.com/vuln/WPSEC-2026-3760/
- https://plugins.svn.wordpress.org/weglot/tags/6.5/
- https://wordpress.org/plugins/weglot/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3760/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
