Skip to main content
← All vulnerabilities
CVE-2019-9787

WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default conf

Published
Last modified
published
Not listed in CISA KEV
6 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 14

blog.ripstech.com

wordpress.org

GitHub · WordPress/WordPress

wpvulndb.com

securityfocus.com

lists.debian.org

debian.org

GitHub · PalmTreeForest/CodePath_Week_7-8

GitHub · dexXxed/CVE-2019-9787

GitHub · kuangting4231/mitigation-cve-2019-9787

GitHub · matinciel/Wordpress_CVE-2019-9787

GitHub · rkatogit/cve-2019-9787_csrf_poc

GitHub · sijiahi/Wordpress_cve-2019-9787_defense