Description
The TranslatePress – Translate Multilingual sites with AI Translation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content (URL-encoded gettext markers) in all versions up to, and including, 3.2.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Comment moderation may delay exploitation for first-time commenters, but does not prevent it, as the payload uses only WordPress-permitted tags and attributes with percent-encoded characters that pass wp_kses URL validation unmodified.
Published: 2026-08-06
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in TranslatePress allows an attacker to store malicious script payloads in comment content by using URL‑encoded gettext markers that bypass WordPress’s wp_kses sanitization. Once a comment is accepted, the injected code executes in the browsers of any user who views the affected page, giving the attacker the ability to steal session cookies, deface content, or execute arbitrary client‑side actions.

Affected Systems

WordPress sites that have installed TranslatePress versions up to and including 3.2.6. The vulnerability is present in all editions of the plugin bundled with the TranslatePress – Translate Multilingual sites with AI Translation plugin, irrespective of the WordPress theme or other plugins used.

Risk and Exploitability

The vulnerability scores a CVSS of 7.2, indicating a high confidence of significant impact. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw through unauthenticated comment submission, meaning any visitor can potentially inject payloads, though editor approval may delay activation on first‑time comments. Once the comment is published, the stored XSS is executed automatically for all users who view the page.

Generated by OpenCVE AI on August 6, 2026 at 07:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the TranslatePress plugin to version 3.3 or newer. This patch removes the insufficient sanitization that allowed URL‑encoded markers to be stored.
  • If a plugin upgrade is not immediately possible, disable public comment posting or restrict comment permissions to trusted, authenticated users only to reduce the attack surface.
  • As a temporary measure, manually review existing comments for suspicious markup and remove or escape injected script content, or apply an additional sanitization layer that rejects percent‑encoded characters.

Generated by OpenCVE AI on August 6, 2026 at 07:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Description The TranslatePress – Translate Multilingual sites with AI Translation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content (URL-encoded gettext markers) in all versions up to, and including, 3.2.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Comment moderation may delay exploitation for first-time commenters, but does not prevent it, as the payload uses only WordPress-permitted tags and attributes with percent-encoded characters that pass wp_kses URL validation unmodified.
Title TranslatePress <= 3.2.6 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-06T05:29:25.581Z

Reserved: 2026-07-31T17:21:44.035Z

Link: CVE-2026-18510

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T07:30:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')