### [CVE-2016-7168](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7168) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description Cross-site scripting (XSS) vulnerability in the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might allow remote attackers to inject arbitrary web script or HTML by tricking an administrator into uploading an image file that has a crafted filename. ### POC #### Reference - http://www.openwall.com/lists/oss-security/2016/09/08/19 - http://www.openwall.com/lists/oss-security/2016/09/08/24 - https://sumofpwn.nl/advisory/2016/persistent_cross_site_scripting_vulnerability_in_wordpress_due_to_unsafe_processing_of_file_names.html - https://wpvulndb.com/vulnerabilities/8615 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/Afetter618/WordPress-PenTest - https://github.com/Japluas93/WordPress-Exploits-Project - https://github.com/KushanSingh/Codepath-Project7 - https://github.com/Lukanite/CP_wpvulns - https://github.com/Snoriega1/Codepath-week-7-and-8 - https://github.com/alem-m/WordPressVSKali - https://github.com/breindy/Week7-WordPress-Pentesting - https://github.com/cakesjams/CodePath-Weeks-8-and-9 - https://github.com/cflor510/Wordpress- - https://github.com/deltastrikeop/CS7 - https://github.com/dtkhiem86/WordPress-Pentesting-Report - https://github.com/harrystaley/CSCI4349_Week9_Honeypot - https://github.com/harrystaley/TAMUSA_CSCI4349_Week9_Honeypot - https://github.com/hughiednguyen/cybersec_kali_vs_old_wp_p7 - https://github.com/krushang598/Cybersecurity-Week-7-and-8 - https://github.com/lindaerin/wordpress-pentesting - https://github.com/mmehrayin/cybersecurity-week7 - https://github.com/mnmr1996/web-security - https://github.com/nke5ka/codepathWeek7 - https://github.com/sammanthp007/WordPress-Pentesting-Setup - https://github.com/yifengjin89/Web-Security-Weeks-7-8-Project-WordPress-vs.-Kali - https://github.com/zakia00/Week7Lab - https://github.com/zando1996/Week-7-Lab-CodePath - https://github.com/zyeri/wordpress-pentesting