High severity8.8OSV Advisory· Published Mar 14, 2019· Updated Jun 17, 2026
CVE-2019-9787
CVE-2019-9787
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3<5.1.1+ 2 more
- (no CPE)range: <5.1.1
- cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*range: <5.1.1
- (no CPE)
Patches
Vulnerability mechanics
References
8- github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080bnvdPatchThird Party Advisory
- blog.ripstech.com/2019/wordpress-csrf-to-rce/nvdExploitThird Party Advisory
- www.securityfocus.com/bid/107411nvdThird Party AdvisoryVDB Entry
- wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/nvdRelease NotesVendor Advisory
- wordpress.org/support/wordpress-version/version-5-1-1/nvdRelease NotesVendor Advisory
- lists.debian.org/debian-lts-announce/2019/03/msg00044.htmlnvd
- wpvulndb.com/vulnerabilities/9230nvd
- www.debian.org/security/2020/dsa-4677nvd
News mentions
0No linked articles in our index yet.