### [CVE-2019-9787](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9787) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen) ### Description WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default configuration. This occurs because CSRF protection is mishandled, and because Search Engine Optimization of A elements is performed incorrectly, leading to XSS. The XSS results in administrative access, which allows arbitrary changes to .php files. This is related to wp-admin/includes/ajax-actions.php and wp-includes/comment.php. ### POC #### Reference - https://wpvulndb.com/vulnerabilities/9230 #### Github - https://github.com/0xT11/CVE-POC - https://github.com/20142995/nuclei-templates - https://github.com/ARPSyndicate/cvemon - https://github.com/Afetter618/WordPress-PenTest - https://github.com/DarrylJB/codepath_week78 - https://github.com/El-Palomo/DerpNStink - https://github.com/NeoOniX/5ATTACK - https://github.com/PalmTreeForest/CodePath_Week_7-8 - https://github.com/PatyRey/Codepath-WordPress-Pentesting - https://github.com/SofCora/pentesting_project_sofcora - https://github.com/dedpanguru/codepath_wordpress_assignment - https://github.com/developer3000S/PoC-in-GitHub - https://github.com/dexXxed/CVE-2019-9787 - https://github.com/hectorgie/PoC-in-GitHub - https://github.com/kuangting4231/mitigation-cve-2019-9787 - https://github.com/matinciel/Wordpress_CVE-2019-9787 - https://github.com/michaelbanegas/Cybersecurity_Projects - https://github.com/n0-traces/cve_monitor - https://github.com/rkatogit/cve-2019-9787_csrf_poc - https://github.com/sijiahi/Wordpress_cve-2019-9787_defense - https://github.com/smfils1/Cybersecurity-WordPress-Pentesting - https://github.com/who562/WordPress-vs.-Kali - https://github.com/who909/WordPress-vs.-Kali