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
- Check the Weglot plugin version in WordPress admin; all versions up to and including 6.4.3 are affected.
- 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).
- Until patched, consider disabling anonymous comments (require registration to comment) or disabling comments entirely.
- Enable comment moderation and do not approve suspicious comments containing HTML or scripts.
- Review existing comments for suspicious content and remove it.
Affected products and versions
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
- www.wordfence.com/threat-intel/vulnerabilities/id/0c088273-33e1-4802-8fa6-11f39bf2d408?sou
- plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/vendor/weglot/simplehtmldom/src/simpl
- plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/vendor/weglot/simplehtmldom/src/simpl
- plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/vendor/weglot/simplehtmldom/src/simpl
- plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/src/services/class-translate-service-
- plugins.trac.wordpress.org/browser/weglot/tags/6.4.3/src/services/class-translate-service-
- plugins.trac.wordpress.org/changeset/3817725/weglot
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.