CVE-2019-9787

Summary

CVECVE-2019-9787
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-03-14 16:29:00 UTC
Updated2019-03-31 22:29:00 UTC
DescriptionWordPress 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.

Risk And Classification

Problem Types: CWE-352

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Wordpress Wordpress All All All All
Application Wordpress Wordpress All All All All

References

ReferenceSourceLinkTags
WordPress 3.9-5.1 - Comment Cross-Site Scripting (XSS) MISC wpvulndb.com
Comments: Improve comment content filtering. · WordPress/WordPress@0292de6 · GitHub MISC github.com Patch, Third Party Advisory
WordPress 5.1 CSRF to Remote Code Execution MISC blog.ripstech.com Exploit, Third Party Advisory
Debian -- Security Information -- DSA-4677-1 wordpress DEBIAN www.debian.org
Version 5.1.1 | WordPress.org MISC wordpress.org Release Notes, Vendor Advisory
WordPress CVE-2019-9787 Remote Code Execution Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
News – WordPress 5.1.1 Security and Maintenance Release – WordPress.org MISC wordpress.org Release Notes, Vendor Advisory
[SECURITY] [DLA 1742-1] wordpress security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report