CVE-2026-126717
The Translate WordPress with Weglot 2.0 – Multilingual AI Translation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' param…
Impact
The Translate WordPress with Weglot 2.0 – Multilingual AI Translation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 6.4.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the target site to permit anonymous comment posting (comment_registration disabled) and have at least one Weglot destination language active; on sites with comment moderation enabled, an administrator must approve the carrier and trigger comments before the injected script executes for subsequent visitors.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products (Remyb92)
| Product | Affected versions |
|---|---|
| Translate WordPress with Weglot 2.0 – Multilingual AI Translation | through 6.4.3 Version 0 ≤6.4.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0c088273-33e1-4802-8fa6-11f39bf2d408?source=cve
- https://plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/vendor/weglot/simplehtmldom/src/simple_html_dom.php#L488
- https://plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/vendor/weglot/simplehtmldom/src/simple_html_dom.php#L1657
- https://plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/vendor/weglot/simplehtmldom/src/simple_html_dom.php#L1792
- https://plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/src/services/class-translate-service-weglot.php#L81
- https://plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/src/services/class-translate-service-weglot.php#L167
- https://plugins.trac.wordpress.org/changeset/3817725/weglot
- https://github.com/advisories/GHSA-wfxg-fh65-r7qp
- https://nvd.nist.gov/vuln/detail/CVE-2026-126717