<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>TranslatePress – Translate Multilingual Sites With AI Translation - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/translatepress--translate-multilingual-sites-with-ai-translation/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 19 Aug 2026 10:14:30 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/translatepress--translate-multilingual-sites-with-ai-translation/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Unauthenticated Stored XSS in TranslatePress Plugin</title><link>https://feed.craftedsignal.io/briefs/2026-08-translatepress-xss/</link><pubDate>Wed, 19 Aug 2026 10:14:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-translatepress-xss/</guid><description>The TranslatePress plugin for WordPress is vulnerable to unauthenticated stored cross-site scripting due to improper handling of translation markers, allowing attackers to inject malicious HTML into post content.</description><content:encoded><![CDATA[<p>The TranslatePress plugin for WordPress (versions 3.2.5 and below) contains a critical security flaw that enables unauthenticated stored cross-site scripting (XSS). The vulnerability exists within the 'translate_page' function in 'includes/class-translation-render.php', which performs an unconditional replacement of the custom gettext markers '#!trpst#' and '#!trpen#' with the HTML brackets '&lt;' and '&gt;'. Because these markers are treated as plain text by standard WordPress sanitization filters like 'wp_kses', they pass through unchanged into the database. When a visitor views a post or comment in a language targeted by the plugin, the rendering engine replaces the markers with HTML tags, allowing an attacker to inject arbitrary HTML, including event handlers like 'onerror'. Because the plugin's 'remove_tags_from_output' function only targets '&lt;script&gt;' and '&lt;style&gt;' tags, attackers can successfully execute JavaScript using alternative tags such as '&lt;img&gt;'. This vulnerability poses a significant risk to site visitors, potentially leading to session theft or administrative account compromise if a privileged user views the injected content.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a WordPress site utilizing the vulnerable TranslatePress plugin (version &lt;= 3.2.5).</li>
<li>Attacker crafts a malicious payload using the plugin's specific markers, such as '#!trpst#img src=x onerror=alert(1)#!trpen#'.</li>
<li>Attacker submits the payload via a vector that accepts user-supplied content, such as a post comment or a custom form field.</li>
<li>The WordPress site stores the payload in the database because 'wp_kses' does not recognize the markers as HTML.</li>
<li>The attacker waits for an unsuspecting victim or site administrator to load the page with the TranslatePress plugin enabled.</li>
<li>The TranslatePress 'translate_page()' function processes the stored comment and substitutes the markers with real HTML brackets.</li>
<li>The browser renders the resulting &lt;img&gt; tag, and the 'onerror' event handler executes the malicious JavaScript payload in the victim's session.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the execution of arbitrary JavaScript in the context of the victim's browser session. This can lead to the theft of session cookies, redirection of users to malicious domains, or unauthorized actions performed on behalf of the logged-in user. Given that WordPress sites often attract administrative users to comment threads or post editing interfaces, the risk of credential or session hijacking is high.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately update the TranslatePress plugin to the latest version, which contains the patch for this vulnerability.</li>
<li>Audit existing comments and posts on the site for the presence of the '#!trpst#' or '#!trpen#' substrings as an indicator of potential past exploitation.</li>
<li>Implement a strong Content Security Policy (CSP) to restrict the execution of unauthorized scripts and mitigate the impact of potential XSS vulnerabilities.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>