# Linguator – AI Auto Translate & Create Multilingual Sites <= 2.2.3 - Unauthenticated Arbitrary Shortcode Execution via Language Switcher URL

- **ID:** WPSEC-2026-4074
- **Plugin:** Linguator – AI Auto Translate & Create Multilingual Sites (`translate-words`), https://wordpress.org/plugins/translate-words/
- **Affected versions:** from 2.0.0 before 2.2.4
- **Fixed in:** 2.2.4 (Update to 2.2.4 or later.)
- **Severity:** High 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/translate-words
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4074/

## Description

The Linguator – AI Auto Translate & Create Multilingual Sites plugin for WordPress is vulnerable to arbitrary shortcode execution via the Language Switcher in versions 2.0.0 up to, and including, 2.2.3. This is due to the language switcher URLs on archive and search pages embedding the visitor's query string without neutralizing square brackets, which esc_url() does not always encode, before the switcher output is processed by do_shortcode() (for example in post content or block widgets). This makes it possible for unauthenticated attackers to execute arbitrary shortcodes by crafting a request URL.

## References

- https://wpsec.com/vuln/WPSEC-2026-4074/
- https://plugins.svn.wordpress.org/translate-words/tags/2.2.4/
- https://wordpress.org/plugins/translate-words/

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

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.
