Cyber Resilience

CVE-2022-0765

MediumPublic PoC

Published: 18 April 2022

Published
18 April 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.0274 86.3th percentile
Risk Priority 12 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-0765 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Loco Translate Project Loco Translate. Its CVSS base score is 5.4 (Medium).

Operationally, ranked in the top 13.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

The Loco Translate WordPress plugin before version 2.6.1 is affected by a stored cross-site scripting vulnerability. The root cause is insufficient sanitization of inline event handlers within source translation strings before they are rendered in the plugin's administrative editor interface. The issue is tracked as CWE-79 and carries a CVSS 3.1 score of 5.4.

Any authenticated user granted access to the plugin, such as those assigned the Translator or Administrator role, can inject arbitrary JavaScript payloads into translation strings. Successful exploitation results in persistent script execution in the browsers of other users who subsequently view the affected editor pages, enabling actions such as session hijacking or administrative interface manipulation within the same origin.

The referenced WPScan advisory identifies the flaw in versions prior to 2.6.1 and indicates that updating to the patched release addresses the input-handling deficiency. The EPSS score rose from a low baseline to a peak of 0.1081 before receding to its current value of 0.0274, indicating a period of increased exploitation interest after public disclosure.

EU & UK References

Vulnerability details

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…

more

and Administrator by default) to add arbitrary javascript payloads to the source strings leading to a stored cross-site scripting (XSS) vulnerability.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

loco translate project
loco translate
≤ 2.6.1

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References