WordPress Core 6.5.0 - 7.1.2 - Authenticated (Author+) Second-Order SQL Injection via WXR Export

4.8
Improper Neutralization of Special Elements used in an SQL Command
CVSS 4.8 (Medium)
Publicly Published October 7, 2026
Last Updated October 7, 2026
Researcher Anthropic

Description

WordPress Core is vulnerable to second-order SQL Injection in versions 6.5 through 7.1.2 because non-numeric values collected from post thumbnail metadata are concatenated into a later WXR export query. This makes it possible for authenticated attackers, with Author-level access and above and a separate method of storing a crafted _thumbnail_id value, to alter a database query when a privileged user subsequently performs an applicable single-content-type export. The default All content export does not reach the vulnerable branch.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WordPress

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 6.5.13, 6.6.10, 6.7.10, 6.8.11, 6.9.10, 7.0.7, 7.1.3
Affected Versions
  • 6.6.0 - 6.6.9
  • 6.7.0 - 6.7.9
  • 6.9.0 - 6.9.9
  • 7.0.0 - 7.0.6
Expand to see 3 more affected version ranges.
  • 7.1.0 - 7.1.2
  • 6.5.0 - 6.5.12
  • 6.8.0 - 6.8.10
Patched Versions
  • 6.5.13
  • 6.6.10
  • 6.7.10
  • 6.8.11
Expand to see 3 more patched versions.
  • 6.9.10
  • 7.0.7
  • 7.1.3

Recent vulnerabilities in WordPress

# Title CVE ID CVSS Researchers Date
1 WordPress Core 6.6.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Unsafe Interactivity API Binding Properties 6.4 Alex Concha, Jon Surrell, rekter0, Marcel Karlsson October 29, 2026
2 WordPress Core 4.7.0 - 7.1.3 - Authenticated (Custom+) Stored Cross-Site Scripting via Externally-Supplied User Login Values 4.9 Anthropic October 29, 2026
3 WordPress Core 6.4.0 - 7.1.3 - Authenticated (Contributor+) Stored Denial of Service via Malformed Interactivity API Bindings 3.5 Jon Surrell October 29, 2026
4 WordPress Core 5.0.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Customizer Selective Refresh 6.4 Rafie Muhammad October 29, 2026
5 WordPress Core 6.4.0 - 7.1.3 - Authenticated (Author+) Stored Cross-Site Scripting via Interactivity Router Uploaded Text Files 6.4 Anas cherni October 29, 2026
6 WordPress Core 5.0.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Non-HTML Whitespace in Block Delimiters 6.4 Rafie Muhammad October 29, 2026
7 WordPress Core 4.9.0 - 7.1.3 - Unauthenticated Sensitive Information Exposure via Customizer Changesets 5.3 Antonio Lorensius Silaban October 29, 2026
8 WordPress Core 5.9.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Navigation Block Labels 6.4 Alex Concha October 29, 2026
9 WordPress Core 6.6.0 - 7.1.3 - Authenticated (Contributor+) Clickjacking via Interactivity API Object Bindings 3.5 rekter0 October 29, 2026
10 WordPress Core 6.6.0 - 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Interactivity API URL Bindings 6.4 Luis Herranz October 29, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation