XSS in Loco Translate Project

CVE-2022-0765

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.039 (89.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-0765?
CVE-2022-0765 is a medium-severity vulnerability in Loco Translate Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-04-18.
How severe is CVE-2022-0765?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2022-0765 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.