WordPress Core < 5.7.1 — XXE Injection
CVE-2021-29447Published · Updated Action summary
Affected: <5.7.1Update to 4.7.20 or 4.8.16 or 4.9.17 or 5.0.12 or 5.1.9 or 5.2.10 or 5.3.7 or 5.4.5 or 5.5.4 or 5.6.3 or 5.7.1 or newer
Fixed versions are per release branch: update to the fix for the branch you run.
All remediation steps- Severity
- High7.1
- CVSS
- 7.1CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:LIntegrity- Low
A:NAvailability- None
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page7
Am I affected?
WordPress wordpress
- Affected< 5.7.1
- Patched in4.7.20 / 4.8.16 / 4.9.17 / 5.0.12 / 5.1.9 / 5.2.10 / 5.3.7 / 5.4.5 / 5.5.4 / 5.6.3 / 5.7.1
Update to 4.7.20 / 4.8.16 / 4.9.17 / 5.0.12 / 5.1.9 / 5.2.10 / 5.3.7 / 5.4.5 / 5.5.4 / 5.6.3 / 5.7.1 or newer.
You are affected if you run < 5.7.1. Version 4.7.20, 4.8.16, 4.9.17, 5.0.12, 5.1.9, 5.2.10, 5.3.7, 5.4.5, 5.5.4, 5.6.3, 5.7.1 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WordPress.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to one of the following versions, or a newer patched version: 4.7.20, 4.8.16, 4.9.17, 5.0.12, 5.1.9, 5.2.10, 5.3.7, 5.4.5, 5.5.4, 5.6.3, 5.7.1
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch WordPress to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to SonarSource.
Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Timeline
CVE published
Severity high, CVSS 7.1
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- 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.
