Skip to content
Fencer Vulns
high 8.8

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 2019-03-14 7 y ago modified 2026-06-17 4 mo 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

Exploit prediction

38.56% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Sources

Fencer Vulns 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.