CVE-2026-135931 in TranslatePress Plugininfo

Summary

by MITRE • 11/25/2026

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Cozmoslabs TranslatePress translatepress-multilingual allows Code Injection.This issue affects TranslatePress: from n/a through 3.4.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified as Improper Neutralization of Script-Related HTML Tags in a Web Page, commonly referred to as Basic Cross-Site Scripting or XSS, represents a critical security flaw within the Cozmoslabs TranslatePress plugin for WordPress. This issue specifically affects versions ranging from n/a through 3.4 and stems from an insufficient validation mechanism when processing user-supplied input that is subsequently rendered in web pages without proper sanitization. The core technical failure lies in the application's inability to distinguish between legitimate content and malicious script payloads, allowing attackers to inject executable JavaScript code directly into the context of a victim's browser session. This class of vulnerability falls squarely under CWE-79, which defines improper neutralization of input during web page generation, highlighting the fundamental breakdown in data handling protocols that should occur before rendering dynamic content.

From an operational perspective, this flaw enables attackers to execute arbitrary scripts on behalf of authenticated users or even visitors who view compromised pages. The impact is severe because it allows for session hijacking, where stolen cookies and authentication tokens can be exfiltrated to a remote server controlled by the attacker. Furthermore, the vulnerability facilitates keylogging capabilities, allowing malicious actors to capture sensitive information such as passwords, credit card numbers, and personal identification details entered into forms on the compromised site. In many WordPress environments, this can lead to full administrative takeover if an administrator with elevated privileges views a page containing the injected payload, thereby granting the attacker complete control over the website's backend functions and database contents.

The attack vector for this vulnerability typically involves manipulating input fields that are intended for translation or content editing within the TranslatePress interface. Since the plugin handles multilingual content, it processes various text inputs from users with different levels of trust. When these inputs contain script tags such as <script> or event handlers like onerror=javascript:alert(1), the application fails to strip or encode them appropriately before outputting them back into the HTML structure. This lack of encoding allows the browser's parser to interpret the injected code as executable commands rather than static text, leading to direct execution within the user's context. The persistence of this issue across multiple versions indicates a systemic design flaw in how input validation and output encoding are implemented throughout the plugin's architecture.

Mitigation strategies must focus on immediate remediation through software updates and defensive coding practices. Users running TranslatePress version 3.4 or earlier should upgrade to the latest patched version released by Cozmoslabs, which implements robust sanitization routines for all user inputs. For organizations unable to update immediately due to compatibility constraints, implementing a Web Application Firewall is recommended as an interim measure to filter out malicious script injections at the network perimeter. Additionally, developers and site administrators should enforce Content Security Policy headers that restrict the execution of inline scripts, thereby neutralizing the impact even if injection occurs. Regular security audits and code reviews focusing on input validation patterns are essential to prevent similar vulnerabilities in future releases or custom integrations involving this plugin.

This vulnerability aligns with MITRE ATT&CK technique T1059, specifically sub-technique 007 for JavaScript execution, which describes how adversaries use browser-based scripts to perform malicious actions within a victim's session. The exploitation of this flaw allows attackers to bypass traditional perimeter defenses by leveraging the trust relationship between the user and the web application. By understanding the mechanics of improper neutralization, security teams can better anticipate similar flaws in other plugins that handle dynamic content generation. Continuous monitoring for anomalous script execution patterns and strict adherence to OWASP Top 10 guidelines regarding input validation will significantly reduce the risk profile associated with this type of injection vulnerability.

Responsible

Patchstack

Reservation

11/24/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00528

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!