CVE Vulnerabilities

CVE-2021-29447

Improper Restriction of XML External Entity Reference

Published: Apr 15, 2021 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
LOW

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.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

Name Vendor Start Version End Version
Wordpress Wordpress 5.6.0 (including) 5.7.1 (excluding)
Wordpress Ubuntu bionic *
Wordpress Ubuntu focal *
Wordpress Ubuntu groovy *
Wordpress Ubuntu hirsute *
Wordpress Ubuntu impish *
Wordpress Ubuntu kinetic *
Wordpress Ubuntu lunar *
Wordpress Ubuntu mantic *
Wordpress Ubuntu oracular *
Wordpress Ubuntu trusty *
Wordpress Ubuntu xenial *

Potential Mitigations

References