Radar sectionsDatabase
Check my site
WordPress wordpress core

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

866f5121-81be-409e-b6d5-81b72bfb5539Published · Updated

Action summary

Affected: ≤7.1.2Update to 6.5.13 or 6.6.10 or 6.7.10 or 6.8.11 or 6.9.10 or 7.0.7 or 7.1.3 or newer

Fixed versions are per release branch: update to the fix for the branch you run.

All remediation steps
Medium4.8CVSS 3.14.8CISA KEVNot listedAccessUnknown

Overview

Advisory ID
866f5121-81be-409e-b6d5-81b72bfb5539
Product
WordPress wordpress
Affected
≤7.1.2
Fixed in
6.5.13, 6.6.10, 6.7.10, 6.8.11, 6.9.10, 7.0.7, 7.1.3
Required access
Unknown
Published
· updated
Credit
Anthropic
  1. Affected≤ 7.1.2
  2. Patched in6.5.13 / 6.6.10 / 6.7.10 / 6.8.11 / 6.9.10 / 7.0.7 / 7.1.3

Update to 6.5.13 / 6.6.10 / 6.7.10 / 6.8.11 / 6.9.10 / 7.0.7 / 7.1.3 or newer.

4.8
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:H Attack complexity
High
PR:L Privileges required
Low
UI:R User interaction
Required
S:U Scope
Unchanged
C:H Confidentiality
High
I:N Integrity
None
A:N Availability
None

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.

Not sure which version you run? Run a passive check — it reads public files only.

Remediation & mitigations

  1. 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
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.

References & provenance

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

Related CVEs

Other SQL Injection vulnerabilities
SeverityVulnerabilityCVEPublished
Medium6.4Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block
Flatsome≤3.20.12Update to 3.20.13
CVE-2026-18742
High7.1Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment RenameCVE-2026-124969
Critical9.8Missing Authorization to Unauthenticated Arbitrary User Password Reset / Account Takeover via Webhook with 'Is the user ID' Field
AutomatorWP Webhooks≤1.4.4Update to 1.4.5
CVE-2026-126173
High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent HeaderCVE-2026-120688

Timeline

  1. CVE published

    Severity medium, CVSS 4.8

  2. Record last updated

Sources & licenses

Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?