CVE-2019-9787

HighCVSS 8.8/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.0 8.8/10CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Mar 14, 2019
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2019

CVE-2019-97889.8Mozilla developers and community members reported memory safety bugs present in Firefox 65, Firefox ESR 60.5, and Thunderbird 60.5. Some of CVE-2019-97899.8Mozilla developers and community members reported memory safety bugs present in Firefox 65. Some of these bugs showed evidence of memory corCVE-2019-97909.8A use-after-free vulnerability can occur when a raw pointer to a DOM element on a page is obtained using JavaScript and the element is then CVE-2019-97919.8The type inference system allows the compilation of functions that can cause type confusions between arbitrary objects when compiled throughCVE-2019-97929.8The IonMonkey just-in-time (JIT) compiler can leak an internal JS_OPTIMIZED_OUT magic value to the running script during a bailout. This magCVE-2019-97935.9A mechanism was discovered that removes some bounds checking for string, array, or typed array accesses if Spectre mitigations have been disCVE-2019-97949.8A vulnerability was discovered where specific command line arguments are not properly discarded during Firefox invocation as a shell handlerCVE-2019-97959.8A vulnerability where type-confusion in the IonMonkey just-in-time (JIT) compiler could potentially be used by malicious JavaScript to triggCVE-2019-97969.8A use-after-free vulnerability can occur when the SMIL animation controller incorrectly registers with the refresh driver twice when only a CVE-2019-97975.3Cross-origin images can be read in violation of the same-origin policy by exporting an image after using createImageBitmap to read the imageCVE-2019-97987.4On Android systems, Firefox can load a library from APITRACE_LIB, which is writable by all users and applications. This could allow maliciouCVE-2019-97997.5Insufficient bounds checking of data during inter-process communication might allow a compromised content process to be able to read memory
CVE-2019-9787: High severity, CVSS 8.8 | Vulnix