Back
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…
High8.8EPSS 38.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 38.6% · top 1.4% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
n/a
- affected n/a
References (8)
- https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ (opens in a new tab)x_refsource_MISCx_transferred
- https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b (opens in a new tab)x_refsource_MISCx_transferred
- https://wpvulndb.com/vulnerabilities/9230 (opens in a new tab)x_refsource_MISCx_transferred
- 107411 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://wordpress.org/support/wordpress-version/version-5-1-1/ (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20190331 [SECURITY] [DLA 1742-1] wordpress security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4677 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-9787)Record last updated .