CVE-2019-9787 in the critical feed json
WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default con…
published 7y ago modified 4mo ago also EUVD-2019-19149
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 38.6%
- EPSS 38.6% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
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.
Patch / fix
- wordpress wordpress 5.1.1
- wordpress Debian 14, Debian 13, Debian 12 5.1.1+dfsg1-1
debian advisories DEBIAN-CVE-2019-9787
Is CVE-2019-9787 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
38.56% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- blog.ripstech.com https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
- Technology feeds
References
-
github.com
/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b
patch, third-party-advisory
-
blog.ripstech.com
/2019/wordpress-csrf-to-rce/
exploit, third-party-advisory
-
debian.org
/security/2020/dsa-4677
vendor-advisory
-
wordpress.org
/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/
release-notes, vendor-advisory
-
wordpress.org
/support/wordpress-version/version-5-1-1/
release-notes, vendor-advisory
- wpvulndb.com /vulnerabilities/9230
-
securityfocus.com
/bid/107411
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/03/msg00044.html
mailing-list
Sources
- CVE List CVE-2019-9787
- NVD CVE-2019-9787
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.