VULNERABILITY INTELLIGENCE
CVE-2019-9787
CVSS score8.8 HIGH
EPSS probability38.56%
CISA KEVNot currently listed
Published2019-03-14
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-352: Cross-Site Request Forgery (CSRF)
Primary references
- cve@mitre.org — Third Party Advisory, VDB Entry
- cve@mitre.org — Exploit, Third Party Advisory
- cve@mitre.org — Patch, Third Party Advisory
- cve@mitre.org
- cve@mitre.org — Release Notes, Vendor Advisory
- cve@mitre.org — Release Notes, Vendor Advisory
- cve@mitre.org
- cve@mitre.org
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory, VDB Entry
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108