Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.2CVE-2026-126717

Weglot plugin for WordPress – unauthenticated stored XSS via comment content

Published 27/11/2026 · Updated 27/11/2026 · remyb92 Translate WordPress with Weglot 2.0 – Multilingual AI Translation

Summary

The Translate WordPress with Weglot 2.0 – Multilingual AI Translation plugin, in all versions up to and including 6.4.3, is vulnerable to Stored Cross-Site Scripting (CWE-79) via the 'comment' parameter due to insufficient input sanitization and output escaping. An attacker can inject arbitrary scripts that execute for any user visiting an affected page.

Per the CVSS vector (7.2, high), the attack is network-based, low complexity, requires no authentication or user interaction, and has a changed scope (impacting visitors' browsers), with limited confidentiality and integrity impact. Exploitation requires the site to allow anonymous comments (comment_registration disabled) and at least one active Weglot destination language. With comment moderation enabled, an administrator must approve the attacker's comments before the script runs for subsequent visitors.

Successful exploitation allows script execution in the site context, e.g. session data theft or altering content seen by visitors and administrators.

Who is affected

Any organization running WordPress sites with the Weglot plugin version 6.4.3 or earlier, especially those allowing anonymous comments.

What to do

  1. Check the Weglot plugin version in WordPress admin; all versions up to and including 6.4.3 are affected.
  2. No fixed version is listed in the record – check the vendor's official release and the Wordfence advisory, and update to a version that addresses the issue (changeset 3817725 exists in the repository).
  3. Until patched, consider disabling anonymous comments (require registration to comment) or disabling comments entirely.
  4. Enable comment moderation and do not approve suspicious comments containing HTML or scripts.
  5. Review existing comments for suspicious content and remove it.

Affected products and versions

remyb92 Translate WordPress with Weglot 2.0 – Multilingual AI Translation≤ 6.4.3

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Affects other components
Confidentiality
Low impact
Integrity
Low impact
Availability
None

Weakness type (CWE)

  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.