CVE-2026-18510

TranslatePress <= 3.2.6 - Unauthenticated Stored Cross-Site Scripting via Comment Content

Published Aug 6, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cozmoslabs
Cozmoslabs translatepress – Translate Multilingual Sites With Ai Translation
Wordpress
Wordpress wordpress
Vendors & Products Cozmoslabs
Cozmoslabs translatepress – Translate Multilingual Sites With Ai Translation
Wordpress
Wordpress wordpress
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 6, 2026, 3:37 PM
Reserved
Jul 31, 2026, 5:21 PM
Status
Deferred
Published
Aug 6, 2026, 7:16 AM
Modified
Aug 12, 2026, 9:00 PM