← WordPress Vulnerabilities
WordPress security by component

WordPress core

51 known core vulnerabilities, newest first.

Published vulnerabilities for WordPress core
Safe version
Oct 22, 2026 CVE-2026-114570
WordPress: Cross-site scripting
WordPress Core is vulnerable to Stored Cross-Site Scripting via Quick Edit in all versions up to, and including, 7.0.2 due to insufficient escaping of user display names. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a higher privileged user accesses the affected administrative screens. This issue only affects sites with a large number of users. Other endpoint, parameter, role or implementation details not named in this export are not established by this record. Affected versions: 4.7.0 through 4.7.33, 4.8.0 through 4.8.28, 4.9.0 through 4.9.29, 5.0.0 through 5.0.25, 5.1.0 through 5.1.22, 5.2.0 through 5.2.24, 5.3.0 through 5.3.21, 5.4.0 through 5.4.19, 5.5.0 through 5.5.18, 5.6.0 through 5.6.17, 5.7.0 through 5.7.15, 5.8.0 through 5.8.13, 5.9.0 through 5.9.13, 6.0.0 through 6.0.12, 6.1.0 through 6.1.10, 6.2.0 through 6.2.9, 6.3.0 through 6.3.8, 6.4.0 through 6.4.8, 6.5.0 through 6.5.8, 6.6.0 through 6.6.5, 6.7.0 through 6.7.5, 6.8.0 through 6.8.6, 6.9.0 through 6.9.5, 7.0.0 through 7.0.2. The narrative requires the later administrator or higher-privileged user action described above even though the vector records UI:N.
7.0.3
CVE4.9
Oct 06, 2026 CVE-2026-66666
WordPress: Sensitive data exposure
No attacker login is required. An attacker can obtain data that should not be exposed in the reachable response. The specific data fields, endpoint and request parameters are undisclosed. The supplied vector reports limited confidentiality impact. The vector requires no victim interaction. Affected versions: 7.1 through 7.1.2, 7.0 through 7.0.6, 6.9 through 6.9.9, 6.8 through 6.8.10, 6.7 through 6.7.9, 6.6 through 6.6.9. The authoritative export identifies 7.1.3, 7.0.7, 6.9.10, 6.8.11, 6.7.10, 6.6.10 as fixed for this CVE.
7.1.3, 7.0.7, 6.9.10, 6.8.11, 6.7.10, 6.6.10
CVE6.9
Sep 22, 2026 CVE-2026-87902
WordPress page-template resolution can include PHP outside active theme directories
An unauthenticated attacker can influence get_page_template() so page-template resolution includes a chosen readable local PHP file outside the active theme directories. Executing attacker-controlled PHP requires the relevant server and active-theme prerequisites, which are not specified; neither an upload primitive nor an unconditional remote-code-execution path is established by this record. The request parameter and entry route are unspecified. Affected versions: < 7.1.2. Confirmed fixed release: 7.1.2.
7.1.2
CVE8.1
Sep 18, 2026 CVE-2026-93485
WordPress core: Stored and DOM-based XSS through comments
Attacker-controlled comment content can reach unsafe page output in WordPress core, allowing script execution when a victim views the affected content. The current export classifies the issue as DOM-based XSS; the official security-release description identifies stored XSS in wpautop and says comment approval is required. Do not assume a general comment-approval bypass. The CNA vector permits an unauthenticated attacker and requires victim interaction. The export does not identify the exact comment field, request action or DOM sink. Use the fixed release for the installed branch, as listed in the mitigation guidance.
7.1.1, 7.0.5, 6.9.8, 6.8.9, 6.7.8, 6.6.8, 6.5.11, 6.4.11, 6.3.11, 6.2.12, 6.1.13, 6.0.15, 5.9.17, 5.8.16, 5.7.18, 5.6.20, 5.5.21, 5.4.22, 5.3.24, 5.2.27, 5.1.25, 5.0.28, 4.9.32, 4.8.31, 4.7.36
CVE7.1
Aug 17, 2026 CVE-2026-65640
WordPress PostScript uploads permit Author-level remote code execution
WordPress before 7.0.4 permits remote code execution when an Author or another user with the upload_files capability uploads a malicious PostScript file on a server that processes images with both Imagick and Ghostscript. The malicious file reaches that image-processing stack and can execute code on the server. WordPress 7.0.4 fixes the issue, and the fix was backported to maintained branches through 4.7.
7.0.4
CVE8.8
Aug 07, 2026 CVE-2026-64638
WordPress login error parsing permits pre-auth reflected XSS and conditional administrator-to-RCE chaining
WordPress fails to safely encode an attacker-supplied log username when a failed POST to /wp-login.php references a nonexistent account. A parser mismatch lets specially spaced tag-like text survive sanitize_user() and wp_strip_all_tags(), then become live HTML when login_header() and wp_admin_notice() render the invalid_username error through wp_kses_post(). This enables unauthenticated JavaScript execution in the WordPress origin. The published chain uses the login-page scripts, REST JSONP, Application Password authorization and plugin upload to reach PHP code execution, but it requires social engineering, active victim interaction and a suitably privileged Administrator who is already logged in. Patched releases call esc_html() before placing reflected usernames or email addresses into authentication errors.
7.0.3, 6.9.6, 6.8.7, 6.7.6, 6.6.6, 6.5.9, 6.4.9, 6.3.9, 6.2.10, 6.1.11, 6.0.13, 5.9.14, 5.8.14, 5.7.16, 5.6.18, 5.5.19, 5.4.20, 5.3.22, 5.2.25, 5.1.23, 5.0.26, 4.9.30, 4.8.29, 4.7.34
CVE8.9
Jul 17, 2026 CVE-2026-63030
WordPress REST batch-route confusion can lead to remote code execution
A route-confusion weakness in the WordPress REST batch endpoint can be combined with the author__not_in SQL injection tracked as CVE-2026-60137. On affected WordPress 6.9 and 7.0 releases, an unauthenticated request can turn that chain into database compromise and potentially remote code execution.
6.9.5, 7.0.2
CVE9.8
Jul 17, 2026 CVE-2026-60137
WordPress WP_Query author exclusion can permit SQL injection
Affected WordPress core releases do not safely handle author__not_in when untrusted input reaches WP_Query. The flaw becomes directly exploitable when a plugin, theme, or REST route forwards attacker-controlled values into that argument, and it is one half of the critical remote-code-execution chain tracked separately as CVE-2026-63030.
6.8.6, 6.9.5, 7.0.2
CVE5.9
Mar 11, 2026 CVE-2026-3906
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exploitation requires an authenticated subscriber account. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVE4.3
Sep 23, 2025 CVE-2025-58674
WordPress: Cross-site scripting
WordPress is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE5.9
Sep 23, 2025 CVE-2025-58246
WordPress: A security weakness
WordPress is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVE4.3
Jul 21, 2025 CVE-2025-54352
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVE3.7
Oct 16, 2024 CVE-2022-4973
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE4.9
Jun 25, 2024 CVE-2024-32111
WordPress: Filesystem traversal
WordPress is affected by filesystem traversal. Exposure depends on how the affected operation is made reachable by the site. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.
See mitigation notes
CVE5.0
Jun 25, 2024 CVE-2024-31111
WordPress: Cross-site scripting
WordPress is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE6.5
Jun 25, 2024 CVE-2024-6307
various: Cross-site scripting
various is affected by cross-site scripting. Exploitation requires an authenticated contributor account. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE6.4
May 03, 2024 CVE-2024-4439
the Avatar block in various: Cross-site scripting
the Avatar block in various is affected by cross-site scripting. The vulnerable path is reachable without authentication. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE7.2
Apr 05, 2024 CVE-2023-5692
WordPress component: Sensitive information exposure
WordPress component is affected by sensitive information exposure. The vulnerable path is reachable without authentication. Successful exploitation can disclose data that should not be available to the caller.
See mitigation notes
CVE5.3
Oct 13, 2023 CVE-2023-39999
WordPress: A security weakness
WordPress is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVE4.3
May 17, 2023 CVE-2023-2745
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. The vulnerable path is reachable without authentication. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE5.4
Jan 06, 2022 CVE-2022-21662
WordPress: Cross-site scripting
WordPress is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVE8.0
Jan 06, 2022 CVE-2022-21661
WordPress: SQL injection
WordPress is affected by SQL injection. Exposure depends on how the affected operation is made reachable by the site. A successful request can alter database queries and expose or modify WordPress data.
See mitigation notes
CVE8.0
Apr 03, 2017 CVE-2017-1001000
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Jan 15, 2017 CVE-2017-5487
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 18, 2014 CVE-2014-5203
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Jul 22, 2012 CVE-2012-3383
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Sep 24, 2011 CVE-2011-3818
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3130
WordPress component: SQL injection
WordPress component is affected by SQL injection. Exposure depends on how the affected operation is made reachable by the site. A successful request can alter database queries and expose or modify WordPress data.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3129
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3128
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3127
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3126
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3125
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Aug 10, 2011 CVE-2011-3122
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Feb 23, 2010 CVE-2010-0682
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
May 21, 2008 CVE-2008-2392
WordPress 2.5.1 and earlier might: A security weakness
WordPress 2.5.1 and earlier might is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
May 02, 2008 CVE-2008-2068
WordPress 2.5: Cross-site scripting
WordPress 2.5 is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Mar 12, 2008 CVE-2008-1304
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Jan 10, 2008 CVE-2008-0196
WordPress component: Filesystem traversal
WordPress component is affected by filesystem traversal. Exposure depends on how the affected operation is made reachable by the site. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.
See mitigation notes
CVEPending
Jan 10, 2008 CVE-2008-0192
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Jan 10, 2008 CVE-2008-0191
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Nov 19, 2007 CVE-2007-6013
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
Sep 26, 2007 CVE-2007-5105
wp-register.php in WordPress 2.0 and 2.0.1: Cross-site scripting
wp-register.php in WordPress 2.0 and 2.0.1 is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Aug 03, 2007 CVE-2007-4153
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Feb 21, 2007 CVE-2007-1049
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Sep 13, 2006 CVE-2006-4743
WordPress component: A security weakness
WordPress component is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
See mitigation notes
CVEPending
May 30, 2006 CVE-2006-2667
WordPress 2.0.2 and earlier: Code execution
WordPress 2.0.2 and earlier is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.
See mitigation notes
CVEPending
Mar 06, 2006 CVE-2006-1012
WordPress 1.5.2, and possibly other versions before 2.0,: SQL injection
WordPress 1.5.2, and possibly other versions before 2.0, is affected by SQL injection. Exposure depends on how the affected operation is made reachable by the site. A successful request can alter database queries and expose or modify WordPress data.
See mitigation notes
CVEPending
Feb 16, 2006 CVE-2006-0733
WordPress 2.0.0: Cross-site scripting
WordPress 2.0.0 is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending
Aug 17, 2005 CVE-2005-2612
WordPress 1.5.1.3 and earlier: Code execution
WordPress 1.5.1.3 and earlier is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.
See mitigation notes
CVEPending
Dec 31, 2004 CVE-2004-1559
WordPress component: Cross-site scripting
WordPress component is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
See mitigation notes
CVEPending