Kirby CMS < 2.5.7 - Cross-Site Scripting







# Exploit Title: KirbyCMS <2.5.7 Stored Cross Site Scripting
# Vendor Homepage:
# Software Link:
# Discovered by: Ishaq Mohammed
# Contact:
# Website:
# Category: webapps
# Platform: PHP
# CVE: CVE-2017-16807

1. Description
A cross-site Scripting (XSS) vulnerability in Kirby Panel before 2.3.3, 2.4.x before 2.4.2, and 2.5.x before 2.5.7 exists when displaying a specially prepared SVG document that has been uploaded as a content file.

2. Proof of Concept

Steps to Reproduce:
Log in as an Editor and click on Site Options
Add the malicious .svg file which contains the javascript to the Site
Login to another browser with Admin Credentials.
Click on Site Options.
Click on the newly added .svg file

3. Reference

4. Solution

The vulnerability is patched by the vendor in the version 2.5.7.