CVE-2019-9787Wordpress
High 8.8 No auth neededHigh EPSS
Follow: this CVE · Wordpress · Wordpress We alert you by email or Slack (account required).
- Priority
- 72
- CVSS 3.0
- 8.8
- EPSS
- 38.6% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Mar 14, 2019
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-352
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Wordpress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wordpress | wordpress | < 5.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- blog.ripstech.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org
- wordpress.org Release Notes Vendor Advisory
- wordpress.org Release Notes Vendor Advisory
- wpvulndb.com
- www.debian.org