{"id":"CVE-2019-9787","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-9787","generatedAt":"2026-11-05T03:10:16.163Z","title":"WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default configuration.","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.","published":"2019-03-14T16:29:00.000Z","lastModified":"2026-06-17T02:44:21.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":8.8,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-352"],"affected":["wordpress/wordpress"],"epss":{"score":0.38557,"percentile":0.98578,"date":"2026-11-03","history":[{"date":"2026-09-21","score":0.28635,"percentile":0.981},{"date":"2026-09-22","score":0.38699,"percentile":0.98515}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 38.6%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[{"kind":"epss","label":"EPSS jump","at":"2026-09-22T00:00:00.000Z","detail":{"to":0.38699,"from":0.28635,"percentile":0.98515},"summary":"EPSS moved from 28.6% to 38.7% probability of exploitation in the next thirty days."}],"references":[{"url":"http://www.securityfocus.com/bid/107411","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://blog.ripstech.com/2019/wordpress-csrf-to-rce/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html","source":"cve@mitre.org"},{"url":"https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://wordpress.org/support/wordpress-version/version-5-1-1/","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://wpvulndb.com/vulnerabilities/9230","source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2020/dsa-4677","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/107411","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://blog.ripstech.com/2019/wordpress-csrf-to-rce/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://wordpress.org/support/wordpress-version/version-5-1-1/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://wpvulndb.com/vulnerabilities/9230","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2020/dsa-4677","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-9787","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}