CVE-2022-0765: The Loco Translate WordPress plugin before 2.6.1 does not properly remove inline events from elements in the s
CVE-2022-0765 is a medium-severity flaw (CVSS 5.4) affecting loco translate. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Loco Translate WordPress plugin before 2.6.1 does not properly remove inline events from elements in the source translation strings before outputting them in the editor in the plugin admin panel, allowing any user with access to the plugin (Translator and Administrator by default) to add arbitrary javascript payloads to the source strings leading to a stored cross-site scripting (XSS) vulnerability.
Why this priority
- EPSS top 10%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 3.8% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-04-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: WordPress Loco Translate < 2.6.1 - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-0765?
loco translate: upgrade to 2.6.1. Exact commands for each OS are on this page.
Is CVE-2022-0765 being exploited?
CVE-2022-0765 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-0765 affect?
CVE-2022-0765 affects loco translate. Severity is medium (CVSS 5.4). The Loco Translate WordPress plugin before 2.6.1 does not properly remove inline events from elements in the source translation strings before outputting them in the editor in the plugin admin panel, allowing any user with access to the plu
How urgent is CVE-2022-0765?
Priority 46/100. EPSS top 10%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2021-24721 MEDIUM 6.5 UPGRADE The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file, which can b