Lucene search

K
zdtManish Pathak1337DAY-ID-38190
HistoryFeb 13, 2023 - 12:00 a.m.

CKSource CKEditor5 35.4.0 Cross Site Scripting Vulnerability

2023-02-1300:00:00
Manish Pathak
0day.today
227
ckeditor5
xss
vulnerability
cksource
scripting
security
cve-2022-48110
browser
attack
documentation
payload

EPSS

0.001

Percentile

42.1%

# Exploit Title: Cross Site Scripting in CKSource's CKEditor5 35.4.0
# Google Dork: N/A
# Exploit Author: Manish Pathak
# Vendor Homepage: https://cksource.com/
# Software Link: https://ckeditor.com/ckeditor-5/download/
# Version: 35.4.0
# Tested on: Linux / Web
# CVE : CVE-2022-48110



CKSource CKEditor5 35.4.0 was discovered to contain a cross-site scripting
(XSS) vulnerability via Full Featured CKEditor5 Widget as the editor fails
to sanitize user provided data.

An attacker can execute arbitrary script in the browser in the context of
the affected site. This can allow the attacker to steal cookie-based
authentication credentials and launch other attacks.

CKEditor5 version 35.4.0 is tested & found to be vulnerable.

Documentation avaiable at
https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html#security

Security Docs Says """The HTML embed feature does not currently execute
code in <script> tags. However, it will execute code in the on* and
src="javascript:..." attributes."""



Payload:

<div class="raw-html-embed">
    <script>alert(456)</script>
</div>