# wpLingua <= 3.1.1 - Unauthenticated Stored Cross-Site Scripting via Comment Content

- **ID:** WPSEC-2026-2763
- **Plugin:** Translate and boost SEO – Automatic AI translation – wpLingua (`wplingua`), https://wordpress.org/plugins/wplingua/
- **Affected versions:** all versions before 3.2.0
- **Fixed in:** 3.2.0 (Update to 3.2.0 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-10)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wplingua
- **Fix released:** 2026-11-09
- **Published:** 2026-11-10
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2763/

## Description

The wpLingua plugin for WordPress is vulnerable to Stored Cross-Site Scripting via comment content in all versions up to, and including, 3.1.1. This is due to the bundled HTML DOM parser, used to re-render pages in translated languages, replacing script, style, code and HTML comment contents with predictable placeholder keys ('___noise___ NNNN'). It restores any matching key found in attribute values without escaping. An attacker can put a forged placeholder in an attribute of markup allowed in comments, so that content they control elsewhere on the page (for example an HTML comment or code element) is restored into that attribute and breaks out of its quotes. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute whenever a user views the translated version of the affected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-2763/
- https://plugins.svn.wordpress.org/wplingua/tags/3.2.0/
- https://wordpress.org/plugins/wplingua/

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

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.
