Loco Translate PO comments permit Translator stored XSS
Loco Translate through 2.8.7 does not adequately sanitize and escape extracted comments imported from PO files. A user with Translator-level access can place a script payload in an extracted comment, and it executes when a user views the affected translation interface. The public.
- Component
- Loco Translate
- Plugin slug
loco-translate- Affected
- <= 2.8.7
- Safe version
2.8.8- Published
- Aug 16, 2026
This CVE was published Aug 16, 2026 and is one of 7 known issues for this plugin.
Update, patch or deactivate.
Update the affected component to 2.8.8 or later. The official upstream changelog identifies this release as addressing CVE-2026-15066.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary and upstream sources
- NVD record for CVE-2026-15066
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- Wordfence advisory wordfence.com