WordPress Core < 5.7.1 - XXE Injection

7.1
Improper Restriction of XML External Entity Reference ('XXE')
CVE CVE-2021-29447
CVSS 7.1 (High)
Publicly Published April 15, 2021
Last Updated January 22, 2024
Researcher SonarSource

Description

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.

References

Share

1 affected software package

Software Type Core
Patched? Yes
Remediation 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
Affected Versions
  • 5.1 - 5.1.9
  • 5.3 - 5.3.7
  • 5.4 - 5.4.5
  • 5.5 - 5.5.4
Expand to see 7 more affected version ranges.
  • 5.6 - 5.6.3
  • 5.7 - 5.7.1
  • 4.7 - 4.7.20
  • 4.8 - 4.8.16
  • 4.9 - 4.9.17
  • 5.0 - 5.0.12
  • 5.2 - 5.2.10
Patched Versions
  • 4.7.20
  • 4.8.16
  • 4.9.17
  • 5.0.12
Expand to see 7 more patched versions.
  • 5.1.9
  • 5.2.10
  • 5.3.7
  • 5.4.5
  • 5.5.4
  • 5.6.3
  • 5.7.1

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