CVE-2026-126717: Translate WordPress with Weglot 2.0 <= 6.4.3 - Unauthenticated Stored Cross-Site Scripting via Comment Content
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 (commentregistration 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.
Affected Software
Event History
Frequently Asked Questions
Which site configurations are exposed to this issue?
Affected deployments are running plugin version 6.4.3 or earlier, allow anonymous comment posting with comment_registration disabled, and have at least one Weglot destination language active.
What access does an attacker need to exploit it?
An attacker does not need authentication or user interaction to submit the malicious comment content. They need the site to accept anonymous comments and require a user to later access a page containing the injected content.
Does comment moderation stop the attack?
Moderation can prevent the payload from reaching visitors until an administrator approves both the carrier and trigger comments. After approval, the injected script can execute for subsequent visitors who access the affected page.