CVE-2024-2124 MEDIUM

CVE-2024-2124: Translate WordPress and go Multilingual – Weglot <= 4.2.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Block Attributes

Vendor Remyb92
Product Translate WordPress with Weglot – Multilingual AI Translation
Weakness CWE-79 · XSS
Published March 20, 2024
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

The Translate WordPress and go Multilingual – Weglot plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's widget/block in all versions up to, and including, 4.2.5 due to insufficient input sanitization and output escaping on user supplied attributes such as 'className'. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Explanation of Vulnerability in Simple Terms

02Summary

The Weglot translation plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability in versions up to 4.2.5. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, potentially compromising their sessions or stealing sensitive data. The vulnerability affects the site's scope, meaning the injected code can impact multiple users and components.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they visit the site.

Potential impact on your site

04Site Impact

Visitors' sessions and data can be compromised; site reputation and user trust at risk.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege WordPress account (e.g., subscriber or contributor role).

Key dates

06Disclosure timeline

March 20, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE