# Exploit Title: KirbyCMS <2.5.7 Stored Cross Site Scripting
# Vendor Homepage: https://getkirby.com/
# Software Link: https://getkirby.com/try
# Discovered by: Ishaq Mohammed
# Contact: https://twitter.com/security_prince
# Website: https://about.me/security-prince
# Category: webapps
# Platform: PHP
# CVE: CVE-2017-16807
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
Login to another browser with Admin Credentials.
Click on Site Options.
Click on the newly added .svg file
The vulnerability is patched by the vendor in the version 2.5.7.