Weglot WordPress Plugin Flaw Allows Unauthenticated Script Injection

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
Weglot WordPress Plugin Flaw Allows Unauthenticated Script Injection
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A high-severity stored cross-site scripting vulnerability, CVE-2026-126717, has been disclosed in the Translate WordPress with Weglot 2.0 plugin, affecting versions up to and including 6.4.3. The flaw, rated 7.2 on the CVSS scale, allows unauthenticated attackers to inject malicious scripts via the 'comment' parameter if the target site permits anonymous comment posting and has at least one Weglot destination language active. The vulnerability stems from insufficient input sanitization and output escaping, potentially executing arbitrary web scripts when users access affected pages.

Key points

  • The vulnerability affects the Translate WordPress with Weglot 2.0 plugin in versions up to and including 6.4.3.
  • It is a stored cross-site scripting (XSS) flaw rated 7.2 (High) on the CVSS 3.1 scale, with a network attack vector and no required privileges.
  • Exploitation requires the target site to have comment_registration disabled (allowing anonymous comments) and 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.
  • The flaw is due to insufficient input sanitization and output escaping in the 'comment' parameter, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation).

Background

This disclosure follows a series of high-severity stored XSS vulnerabilities in WordPress plugins disclosed on November 26, 2026, including CVE-2026-135630 in Premmerce Brands for WooCommerce, CVE-2026-134991 in PowerPack Addons for Elementor, CVE-2026-134489 in Kirki, and CVE-2026-135037 in AMP for WP. The Weglot plugin, trusted by over 110,000 websites, provides multilingual AI translation and SEO features, making it a critical component for many WordPress sites.

Why it matters

The vulnerability poses a significant risk to WordPress sites using the Weglot plugin, as unauthenticated attackers could inject malicious scripts that execute when users access affected pages. This could lead to data theft, defacement, or other malicious activities, particularly on sites with anonymous comment posting enabled. The high CVSS score and network attack vector underscore the need for immediate attention from site administrators.

What to watch

Site administrators using the Translate WordPress with Weglot 2.0 plugin should update to a patched version as soon as it is released. Until then, they should consider disabling anonymous comment posting or enabling comment moderation to mitigate the risk. Monitoring for unusual activity and ensuring that all plugins are up to date is also recommended.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar