Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise translator-role WordPress account
-
DeliveryCraft PO file embedding JavaScript in extracted comment field
-
ExploitSave file via Loco Translate editor, persisting payload to database
-
ExecutionVictim administrator loads affected translation page
-
PersistInjected script executes in admin browser context
-
ImpactAttacker captures session token or performs unauthorized admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an active, authenticated WordPress user account holding at minimum the translator role as defined by the Loco Translate plugin - unauthenticated access is not sufficient. The attacker must have write access to translation files via the Loco Translate editor interface (i.e., the plugin must be installed and active). A separate victim user, who may hold higher privileges, must subsequently load a page that renders the stored extracted comment. Exploitation is bounded by: (1) mandatory authenticated translator credential - drive-by unauthenticated exploitation is not possible given PR:L in the CVSS vector; (2) a victim must actively navigate to the affected translation page for the payload to fire; (3) the impact is scoped to the victim's browser session (C:L/I:L) and does not constitute direct server-side code execution. |
| Impact | The CVSS 6.4 score captures the core tension of this vulnerability: the attack is network-accessible with low complexity and requires only a low-privilege (translator) credential, but exploitation is bounded by that authentication requirement and produces only limited confidentiality and integrity impact per victim session. The Scope:Changed metric (S:C) is the most operationally significant signal - it confirms that a payload injected by a translator can execute in the browser of a higher-privileged user such as an administrator, making account-takeover chains realistic in deployments where translator accounts are broadly delegated. No EPSS score was included in the input data, and neither a CISA KEV listing nor public proof-of-concept code has been identified, which meaningfully lowers the near-term exploitation probability compared to what the raw CVSS score implies; nonetheless, even a mid-sized municipal IT team in olsztyn running a multilingual public-sector WordPress site should treat this as urgent given how routinely translator roles are granted to external contractors or volunteer contributors. The primary exploitation limiter is the mandatory authenticated session - unauthenticated remote exploitation is not possible given PR:L in the CVSS vector. |
| Exploit ScenarioDerived | An attacker with a valid translator account opens the Loco Translate editor, crafts a PO translation file with a JavaScript payload embedded in an extracted comment field, and saves it through the plugin's normal save workflow - no unusual permissions or tools are required beyond the translator role. The payload is written to the WordPress database without sanitization. When a site administrator later opens the translation file for review or editing, the stored script executes in the admin's browser, and the attacker can capture the admin's session token or issue privileged REST or admin-panel requests on their behalf. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 16, 2026
Stored XSS in the Loco Translate WordPress plugin (versions up to and including 2.8.7) allows authenticated users holding the translator role or above to inject persistent malicious scripts via crafted PO file extracted comments. When an affected translation page is subsequently loaded by another authenticated user - including site administrators - the stored payload executes in that user's browser context, enabling session hijacking, credential theft, or unauthorized administrative actions. No public exploit code or CISA KEV listing has been identified at time of analysis; a fix commit is confirmed in the WordPress plugin trac repository, and the Wordfence advisory provides the authoritative disclosure record.
RemediationAI
The primary fix is to upgrade Loco Translate to the version that incorporates changeset 3631056, referenced at https://plugins.trac.wordpress.org/changeset?reponame=&old=3631056%40loco-translate&new=3631056%40loco-translate; the exact version tag of the released patch is not stated in the available input data, so administrators should verify the current stable release in the WordPress plugin repository and confirm it is numbered above 2.8.7. If an immediate upgrade is not feasible, the most targeted compensating control is to audit all accounts holding the translator role and revoke that grant from any user who does not strictly require it, since the vulnerability is gated on translator-level authentication - reducing the pool of accounts capable of injecting payloads directly reduces exposure. As a secondary layer, restricting access to the WordPress admin interface to known trusted IP ranges via server-level allow/deny rules or a WAF policy will limit the attack surface, at the operational cost of blocking legitimate remote translators who work outside those ranges.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Loco Translate (CPE: cpe:2.3:a:timwhitlock:loco_translate) is a WordPress plugin for managing GNU gettext PO and MO translation files directly within the WordPress admin interface. PO files support 'extracted comments' - lines prefixed with #. - that source-code parsers insert to provide translators with context about where a string is used. The root cause (CWE-79: Improper Neutralization of Input During Web Page Generation) is that the plugin's server-side save handler (SaveController.php at line 52) stores extracted comments in the database without sanitizing HTML metacharacters, and the admin-side JavaScript renderer (admin.js at lines 1404 and 3533, present identically in versions 2.8.4 and 2.8.5) outputs those stored values to the DOM without escaping, completing the stored-XSS sink. The flaw spans both the ingestion path (PHP) and the rendering path (JavaScript), indicating the absence of defence-in-depth sanitization at either layer.
Know when Loco Translate gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Stored XSS payload fires only when a victim loads the page (UI:R); a translator credential is required (PR:L); scope change confirmed as execution occurs in victim's browser context.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Loco Translate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via PO File Extracted Comments in all versions up to, and including, 2.8.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with translator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Loco Translate
View allPath traversal in Loco Translate WordPress plugin before 2.8.9 (CVSS 6.8) lets authenticated users who hold the plugin's
Stored cross-site scripting in the Loco Translate WordPress plugin before 2.8.9 allows an authenticated attacker with th
The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file, which can be renamed
The Loco Translate WordPress plugin before 2.6.1 does not properly remove inline events from elements in the source tran
Remote code execution in the Loco Translate WordPress plugin (all versions up to and including 2.8.5) is reachable throu
Reflected Cross-Site Scripting in Loco Translate WordPress plugin versions up to 2.8.2 allows unauthenticated attackers
Loco Translate plugin for WordPress versions up to 2.8.2 allows authenticated attackers with Translator-level access to
Authenticated WordPress users holding the Loco Translate 'Custom+' capability or higher can write or overwrite translati
EUVD-2026-59864
GHSA-2cg4-q2f7-q8x7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB